简体   繁体   中英

How to change the product name in XCode 4.5?

I have a workspace that contains a library and a project A, I wanted to create a project B which is the same as A except with a few small tweaks. So I copied the entire set of source files for A and make a copy, renamed them to B, then added the B project o the workspace.

I've created a new scheme for B but when I build and run the app has A's name.

I was looking at this past question Change product name macro in iOS XCode project

but I cannot find a Product Name row in the Packaging setting when using XCode 4.5.2

Click on the name of the project (the root node) in the sidebar once to select it. Then click it a second time to edit it.

在此输入图像描述

When you press return to save, it will bring up a confirmation dialog that will show you the changes that'll be made.

You may need to update your developer credentials to support the new app.

Edited to add:

This should be a caveat at the end of every Xcode-related question: Restart Xcode. It fixes crazy-making problems. :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM