Xcode version 4.6.2 (4H1003) compiler error

后端 未结 9 618
萌比男神i
萌比男神i 2020-12-13 11:48

I just updated to Xcode version 4.6.2 (4H10003) and tried to run a previously working application project in the simulator and received the following error and the build fai

9条回答
  •  Happy的楠姐
    2020-12-13 12:32

    I've tried all the above and it works fine from Xcode UI, but it was still failing for me when I ran xcodebuild from command line.

    That was due to dependencies to other libraries and their pre-compile headers. When running from command line, looks like xcodebuild store/reads pre-compiled headers from here:

    /var/folders/v0/ztxy9kls7sv05dpmvjgg_xwr0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders
    

    After cleaning up that folder, xcodebuild succeeded.

提交回复
热议问题