Xcode fails without specifying and errors

前端 未结 22 1740
栀梦
栀梦 2021-02-12 13:27

All of a sudden my project fails to build in Xcode. If I look at the log I see all the needed dependencies being built, and then I get a strange error:

Verify fi         


        
22条回答
  •  情深已故
    2021-02-12 13:39

    Same issue when added watchOS target inside iOS app, using Xcode 11.1 with SwiftUI:

    • Go to menu Xcode / Preferences / Locations
    • Open Derived Data folder in Finder clicking on the arrow next to /Users/yourUserName/Library/Developer/Xcode/DerivedData
    • Locate your app Derived Data folder and delete it
    • Menu Product / Clean Build Folder

    You should be able to compile again.

提交回复
热议问题