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.
Related
I want to change the application name that shown below is app icon. but i am unable to do this from info.plist file.
I have tried changing following value:
Bundle display name:${PRODUCT_NAME} ==> Bundle display name:${MyApp}.
But it didn't worked.
The app name doesn't need to be surrounded by ${}
My App
instead of
${MyApp}
If you are changing the value in the default view for the plist, it should look like this:
Including the ${} indicates that the plist should get the value with key "MyApp" from the build settings.
I want to develop same app (same coding ) but with different names .So gone for renaming the app.I tried changing varoius parameters like Bundle Name, Bundle Display Name, Product Name and clean the app and then build it.But build is succeeded .After fraction of second my I see the status Finished running 'appname' on iphone 6.0 simulator and my app stops running.What should I exactly change to rename my app ?
Go to the project editor and select the target you want (will go blue)
Double click on the Target name in the target view window.
Type the new name
Bundle Display Name and Bundle Identifier.
The Bundle Display Name for the name that is displayed under the app icon on your device.
The Bundle Identifier to make the device, simulator and the app store understand that there are two different apps.
change project name and click enter button.
Is there a way to change the title of the Settings.bundle for your iOS app besides changing the name of the apps Bundle Display Name?
Settings.bunlde Display: Something Long
Springboard icon name : Something
If I'm understanding your question correctly, you want to display "Something Long" as the title of your app's root settings screen, instead of the app's bundle display name "Something", right?
Unfortunately you cannot do this for the app's root settings screen, even if your Settings.bundle/Root.plist file defines a "Settings Page Title", it will ignore it and show the app's bundle display name.
If I have an iPhone app named: MyCoolApp
How do I keep the bundle named: MyCoolApp.app
But have the app name on that shows up underneath my icon read: My Cool App
I have changed my PRODUCT_NAME target setting to be "My Cool App" and changed my plist CFBundleDisplayName and CFBundleName to be "MyCoolApp". So far my app name on the device still reads "My Cool App"
I'm pretty green to this stuff still. Thanks for any help you can provide.
You might need to delete the app from the device and reload it for the change to take effect.
Sometimes when changing the Project Properties it does not work. Project Properties and Target Properties Window look the same. I have mistaken there sooo many times. ;)
The best way to do this is using a key called Bundle Display Name. It has to be added in the info.plist.
DO NOT CHANGE THE PRODUCT NAME IN BUILD SETTINGS.
This is not a good approach as it changes your bundle identifier. All you need to change is the product display label.
Note: Make sure to include this in info.plist in your projectTests info.plist also.
The name of an app we are developing is longer than can fit under the icon on the home screen, but it looks fine everywhere else it appears in the UI (like when a popup appears asking you if you want to delete it, in the settings app, etc.).
Is there any way to specify a different string for these different places?
You can specify two different bundle names in your Info.plist:
CFBundleDisplayName:
CFBundleDisplayName (String) specifies
the display name of the bundle. If you
support localized names for your
bundle, include this key in both your
information property list file and in
the InfoPlist.strings files of your
language subdirectories. If you
localize this key, you should also
include a localized version of the
CFBundleName key.
CFBundleName:
CFBundleName (String) identifies the
short name of the bundle. This name
should be less than 16 characters long
and be suitable for displaying in the
menu bar and the application’s Info
window. You can include this key in
the InfoPlist.strings file of an
appropriate .lproj subdirectory to
provide localized values for it. If
you localize this key, you should also
include the key “CFBundleDisplayName.”
In Xcode these show up as "Bundle display name" and "Bundle name" respectively.
So just change the value of Bundle name to a shortened form and see if the dashboard uses that instead of the longer Bundle display name
Except for localized application names, I'm not aware of any option to specify different application names for different contexts.