xcode 6 pch.file not found

前端 未结 9 1887
野的像风
野的像风 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 13:02

    Do as follows, changing [Precompile Prefix Header] with [no] and [Prefix Header] with empty field.

    And I rebuild the project, it passes, and runs!

    [Project]
    -[Basic]
    -[Apple LLVM6.1-Language]
    --[Precompile Prefix Header]-[no]
    --[Prefix Header]--[]
    
    0 讨论(0)
  • 2020-12-07 13:08
    • select your framework in the file navigator
    • open the utilities pane (Xcode -> View -> Utilities -> Show File Inspector)
    • enable target membership of your framework for all targets.
    0 讨论(0)
  • 2020-12-07 13:09

    Just change your scheme name to what ever you want.Clear the project then compile it. Its working for me .

    0 讨论(0)
提交回复
热议问题