Xcode version 4.6.2 (4H1003) compiler error

后端 未结 9 619
萌比男神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条回答
  •  一向
    一向 (楼主)
    2020-12-13 12:20

    Specially if you build from command line or you have a build script, cleaning xcode target is not enough. You have to delete this folder.

    The exact location of precompiled header can be found in the project, part of the folder path is random (I guess), esp after /var/folders/xx..xxx/C.

    Target -> build settings => "Build locations" -> Precompiled headers cached path
    

    Run Terminal and go to this folder and delete (use command),

    #rm -fr SharedPrecompiledHeaders
    

    enter image description here

提交回复
热议问题