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.
Related
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.
I saw in apple developer documents that i need to putty icons in the main bundle and than set the CFBundleIcons so it has the name of the file.
But i'm looking in my info.plist and i don't see any CFBundleIcons any where… How do i make it appear? I tried creating a new line and write it but it didn't help.
Thanks…
In the info.plist there should be a key like: Icon file check the below screen shot:
If there is no key like that add a key and value yourself.
When you need to add different icon files for retina display add the key of info.plist like:
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.
I have other pages within my app preferences which are stored as separate files within the settings.bundle.
It has come time to localize my app and I can only seem to get the Root values to localize. I was wondering whether there was a trick?
The following image shows that my second screen is stored within a file called "MyPrefs.plist" and I have created a corresponding named file "MyPrefs.strings" in the en.lproj directory. Mirroring the same naming and location as the Root.plist and Root.strings.
The values with the Root.plist are converted as expected but not in the extra screen.
Is there any trick to localizing secondary screens with the settings.bundle?
Have you set the correct value for Strings Filename key in the MyPrefs.plist file ?
It should look like:
+ iPhone Settings Schema
Settings Page Title MyPrefs Title
Strings Filename MyPrefs
+ Preferences Items
....
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.