Problems after upgrading to Xcode 10: Build input

2019-02-04 06:06发布

I upgraded my Xcode SDK to version 10 last night and then find I cannot build.

I'm getting this error:

Build input file cannot be found: '/Users/call01/Library/Developer/Xcode/DerivedData/Comp-Lite-Apps-gytvmossqptokeafrddvvmnlzadk/Build/Products/Debug-iphoneos/SG11.app/SG11

which did not exist before my upgrade and I'm tempted to revert back but would like to stick with version 10 if I can resolve this issue.

标签: xcode upgrade
9条回答
SAY GOODBYE
2楼-- · 2019-02-04 07:04
  1. try deleting the red colored files
  2. delete the files in derived data
  3. clean the build folder
  4. then try building by using "new build system" from file->workspace settings
查看更多
We Are One
3楼-- · 2019-02-04 07:05

Funnily, closing Xcode and reopening it might also be enough.

查看更多
一纸荒年 Trace。
4楼-- · 2019-02-04 07:11

This worked for me in Xcode 10:

  • Click Project icon/name in your Xcode project
  • Go to General tab
  • Click [Choose info.plist File] under Identity section
  • Select the info.Plist file
  • Check Info tab to see if info.plist was loaded successfully
  • Build and run
查看更多
登录 后发表回答