简体   繁体   中英

change icon/product name and image iPhone

I have given name of my application "Test" while creating my application/project in XCode 4.4.Now, I want to chage the name from "Test" to some other name.And also,I want to show an image in the icon.

I tried changing name in the Target -> Product name under packaging, But, its giving me error

Dependency error build setting product name undefined

How can I fix this?

Could any one please tell me the steps how can I change the product name and show an image in default icon, so that it will be shown when some one install my application on iPhone?

If you need to rename your product.

  • Select your Targets type Product Name on search bar. And Change the Product name.

重命名产品

  • Change the name in Info.plist changing Bundle Display Name property from ${PRODUCT_NAME} to the desired name.
  • Go to Xcode-->Project-->Rename

You can changed it from main file name where all files are available like .h and .m by single click on name of the project and then you can easily rename it and also can do this by click on edit schemes and then go to manage schemes and edit your project name. Hope it will helpful for u.

and for the icon image just name it Icon.png for iPhone 4 and for iPhone 5 just give the name Icon@2x.png , it will automatically set as icon image

If you just want to change the name of the application that is being displayed on iPhone homescreen then go to "Target" settings, "info" tab and change the value of "bundle display name", and the name of your application will be changed.

For icon, add the icon image file in your project and change its name to "icon.png" and it will pick it up automatically.

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