Obscure Xcode build error: “The file “myapp-SBPartialInfo.plist” couldn’t be opened because there is no such file.”

前端 未结 3 1831
野性不改
野性不改 2021-01-02 23:47

I\'m getting the following error toward the end of the build:

error: could not read data from \'/Users/myname/Library/Developer/Xcode/DerivedData/myapp-ftieubjjfkuwy

相关标签:
3条回答
  • 2021-01-03 00:07

    I heard back from Apple Support.

    Something was wrong with one of the generated files. Here are the steps to fix it:

    1) Quit Xcode.

    2) Open Finder and select Go > Go to Folder...

    3) Delete the DerivedData folder

    4) Open Xcode.

    5) Clean your project

    6) Build

    0 讨论(0)
  • 2021-01-03 00:19

    In my case, I resolved this by setting the Deployment Target to iOS 9.0 from iOS 8.0, as I had a UIStackView, which is not supported before iOS 9.0

    0 讨论(0)
  • 2021-01-03 00:24

    In my case the problem was that somehow the Run action in my scheme showed my app's name without the ".app" extension. Editing the scheme and picking AppName.app fixed it.

    0 讨论(0)
提交回复
热议问题