How to tell Xcode where my info.plist and .pch files are

前端 未结 7 1677
轻奢々
轻奢々 2020-12-02 10:28

I renamed my project and it\'s files and now Xcode is still looking for the old info.plist file. Where do I set the locations of the .plist and .pch files that it needs.

7条回答
  •  天涯浪人
    2020-12-02 10:41

    I know this answer is answered and closed, but I'm going to add my discoveries here as it is slightly different for Xcode 4.2:

    • Select your project
    • In the left side of the middle pane, select your app under "Targets"
    • Select the tab "Build Settings"
    • Search the following keywords: "info.plist" and "pch"
    • At this point it should be pretty clear which are the ones you need to modify.
    • Click on "Validate Settings" and you're done.

提交回复
热议问题