Apple LLVM Compiler 3.1 error clang

前端 未结 9 2188
长发绾君心
长发绾君心 2020-12-08 05:19

I\'m trying to make an archive (ipa) for my iOS (iPhone) app but I\'m receiving a strange error:

Apple LLVM Compiler 3.1 error clang: error: no such file or          


        
9条回答
  •  旧巷少年郎
    2020-12-08 05:33

    I had this same issue and none of the above answers were working for me.

    I discovered that if I opened a project from the command line, i.e. open test.xcodeproj/, even a brand new project from a template would fail to compile with the error above.

    However, if I opened Xcode first and chose the project from the splash screen, everything worked just fine.

    Leaving this here in case anyone else is stuck banging their head against the wall.

提交回复
热议问题