How do I change the product name within an Xcode project?

前端 未结 7 809
轻奢々
轻奢々 2020-12-14 00:26

I have an application that I would like to be called IFrames. I\'ve named all of the files appropriately (IFramesAppDelegate, etc.), but when I run it in ad hoc mode it sho

7条回答
  •  我在风中等你
    2020-12-14 00:48

    Do not set the product name on the project level, since your project can build several different applications. For example on iPhone/iPod touch app, and another iPad app fromt he same sources.

    Instead set the product name on the Target. Find the Target in the Group & Files column in Xcode. And select "Get Info" from the context meny, or use the cmd-I shortcut.

    Targets

    In the Info window go to the build tab. Make sure Configuration is set to "All Configurations", since you want the same name for Debug and Release builds. Filter down your options with "product name" to find the option fast, and type away.

    Product name in Target Info

提交回复
热议问题