xcode 6 pch.file not found

前端 未结 9 1925
野的像风
野的像风 2020-12-07 12:37

I load my project from xcode 5 to xcode 6 and see error myProject-prefix.pch is not found in myProjectTests, I add this file and see new error

Ld /Users/will         


        
9条回答
  •  生来不讨喜
    2020-12-07 12:49

    Try this with Xcode 6. You need to manually create the PCH File.

    File -> New -> File -> iOS -> C and C++ -> PCH File.

    Add new PCH file to the project - New file > Other > PCH file

    At the project 'Build Settings' option - set the value of 'Prefix Header' to your PCH file name, with the project name as prefix - i.e. for project named 'TestProject' and PCH file named 'MyPrefixHeaderFile', add the value 'TestProject/MyPrefixHeaderFile.pch' to the plist.

提交回复
热议问题