error: Unable to resolve build file: XCBCore.BuildFile

前端 未结 18 2699
旧时难觅i
旧时难觅i 2020-12-14 13:49
error: Unable to resolve build file: XCBCore.BuildFile (missingTargetProductReference(\"3bf83096e50de72a94699e9afc1133ebe3512682230d04680075c283a974e273\")) (in targ         


        
相关标签:
18条回答
  • 2020-12-14 14:42

    For me there was a different solution after none of the above worked. The problem started after using unlink for one of my packages. Then for some reason, the Package was still there under Libraries, but it was greyed. After deleting the greyed Library, everything started working again.

    0 讨论(0)
  • 2020-12-14 14:48

    If you have a File Group which is backed by a physical folder and that physical folder has been deleted then you will get the same error "Unable to resolve build file: XCBCore.BuildFile". In my case the physical folder has been removed (because I removed all "real" files from it) and in XCode group there was still one external project linked.

    Solution: - created a new group (without a folder) in XCode - Moved external project reference there. - rebuilt the project

    Error gone.

    0 讨论(0)
  • 2020-12-14 14:51

    I have the same problem. Because a folder not upload to Git server, git not allow upload empty folder, then I create a folder in project folder, and it work well. missing folder

    0 讨论(0)
  • 2020-12-14 14:52

    I had an embedded Xcode project that was not found (light blue). Deleting it and dropping it in again solved the issue.

    0 讨论(0)
  • 2020-12-14 14:55

    In my case, after trying all solutions in this question and some more (including updating Xcode 10.2 beta and even macOS), the only thing that worked was accessing the project bundle (right click > Show Package Contents) and remove everything except project.pbxproj:

    • project.xcworkspace
    • xcshareddata
    • xcuserdata
    0 讨论(0)
  • 2020-12-14 14:56

    I had correct Command Line Tools and cleaning did nothing for me.

    While resolving a merge conflict, A Group named "Recovered References" had appeared in my project navigator. Probably due to a mistake I made during merging. The Group was empty and deleting it fixed my problem.

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