error: Unable to resolve build file: XCBCore.BuildFile

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


        
18条回答
  •  南方客
    南方客 (楼主)
    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.

提交回复
热议问题