I am currently programming an application for AppleWatch which display notifications.
However, the name of the app is too long to appear correctly in sash title.
I want to rename it.
In some post, i saw that we must change the "bundle display name" of the watch app info.plist.
But it does not work. How can i make this change ?
In your project there is the App folder and the Watchkit Extension folder, each of which contains an Info.plist file. Change the Bundle Display Name in "App" folder.
I'm referencing Xcode 7 Beta 6(7A192o).
Related
I'm entirely new to development for Apple Platforms. I started by installing Xcode and setting up a new watchOS project. I noticed that I have three "products" within my new project:
My App
My App WatchKit App
My App WatchKit Extension
The first one seems to be the actual AppStore target, the second one the actual app and not sure about the third one. My code resides in the "My App WatchKit Extension" while "My App WatchKit App" just contains an asset catalog and the Info.plist file.
Unfortunately, my App shows up on watchOS devices as "My App WatchKit App". I just want it to be "My App" obviously. I could change the "Product Name" property of "My App WatchKit App" to "My App". However, it defaults to "$(TARGET_NAME)". So I'm unsure if I should rename the whole target or just set the "Product Name" property of the "My App WatchKit App" target. What are the best practices here?
Is your project a watch-only app, or a watchOS app with an iOS app?
Although it doesn't matter that much in this case, it is just important to know if you are completely new.
When you were setting up a new Xcode project, there was a window where you had to provide your product name. And that is the name of your app.
To solve this particular case, I would do the following:
Go to the Info.plist file (it is in the folder of WatchKit App); change the value for the key Bundle display name to what your app's name is.
And when you run your app, it should display just as you expect.
And regarding the 'three' properties you mentioned, you may read this article: https://developer.apple.com/documentation/watchkit/creating_independent_watchos_apps/setting_up_a_watchos_project by Apple where it explains concisely what each folder does.
Let me know if anything is unclear.
I need to rename the Sticker Application name that is displayed under the app icon in the iMessage App Store. I'm using XCode 8.
I have tried:
- Renaming Bundle Display Name under the Info tab of the application file inside Products
- Renaming Bundle Display Name under Custom iOS Target Properties under the application
- Remaming the Name under Identity & Type for the Project. This forces a rename of the project files but doesn't change the name displayed under the app icon in the imessage store
- Restarting XCode 8
- Restarting Mac
Thank you!
You can define it in StickerPackExtension Settings (see the pic). Thats the name that will be displayed under your app icon in iMessage App selection screen.
I am trying to put a space in my app name (standalone sticker pack) in Xcode 8. The solutions I've seen on here are to change the Product Name (in packaging) or to change the "Bundle Display Name".
I've changed the product name and that hasn't worked (I cleaned, rebuilt, reset content and settings in simulator and logged out of xcode, logged back in and rebuilt app).
I can't see "Bundle Display Name" anywhere. Should I add it and if so, how do I do that?
I've read the thread How to change the name of an iOS app? and done the suggestions, but it's still showing in simulator and testflight without the space. Have I missed something?
Steps:
1. Open project Info.
2. Add a property Bundle display name into Custom iOS Target Properties. (as "Key")
3. Enter the display name, that will be shown on iPhone/iPad screen under an app icon. (as "Value")
It's my solution that works properly. Also you should delete previously installed app and reinstall it.
Just go to Target -> General -> In Identity -> Display Name. By default, it has your app display name which is unhighlighted. Enter here your new app display name.
There are two ways to change app display name.
Solution 1:
Goto Targets -> General Tab -> Identity section
In this you’ll find Display Name field where you set app display name.
Solution 2:
Bundle Display Name property is not present by default in Info.plist. You need to explicitly add this property.
Below image shows how to add this property.
Note: If still this new name is not reflected in your app then delete app and install it again.
When creating a new project, Xcode uses the Product Name by default. You can just change that in your Build Settings, even setting separate names for your schemes.
After changed Bundle display name make a Clean of project.
Change the Bundle Display Name (CFBundleDisplayName) in your Info.plist file
Check if you have any localization (InfoPlist.strings) files, and change the corresponding CFBundleDisplayName values in those files to the localized values.
That's it.
Goto Info.plist and add "Bundle display name" and set your rename in value box make sure the Bundle display name type is a string run the project automatically it will be changed
For xcode 9.3, Goto Targets, Build Settings, under packaging change Produce Name. See below screen shot
After this if it not changed, clean product to reopen X code.
I have a development app that I'd like to change the app's display name and change/add the default display icon (for ios phone). I'm being careful since I do not want to re-do any of the certificate/provisioning. I current have my demo app loaded on my phone with it's default name/ launch icon.
CHANGING DISPLAY NAME:
Other posts indicate this may be as simple as changing the bundle display name defined in the myfilename-info.plist file, that can be modified in a drop down menu/list, and is located in the Supporting File folder (XCode 6). Right now it shows Bundle Display Name is ${PRODUCT_NAME}. Should I edit this file/entry and which format should be used? There is also a Bundle Identifier in the file/list but I'm guessing I should not touch that.
CHANGING LAUNCH ICON:
I'd like to change the launcher icon. I saw an old post for XCode 4 but I wanted to check how to do it with XCode 6.
Thanks for the help! I'm being cautious so I do not mess up my provisioning/certification that I've already been working with on this project.
For the bundle display name, you have mentioned that correct. Just change ${PRODUCT_NAME} with your required name in info.plist and save the file
For Launch Icon you can use xcassets and just drag the drop the images
just create a new set first and start drag drop
NOTE: No need to redo the provisioning and certification process
we want to publish an update of our app. Is it possible to rename the app after the update? let's say the app is called myApp and I want it to be called myApp 2 after the update... can it be done?
In Build Setting, You can change Product Name.
Actually you can. You can change the "Bundle Name" which (I think) is the name the App appears on the AppStore and the "Bundle Display Name" which is the name that appears under your icon on the Home screen. But if you change your "Bundle Identifier" then your App is not the same App.
More info can be found in the Apple Docs here.
https://stackoverflow.com/a/8074959/480415
select your target, "Info" tab, and set the "Bundle display name"
field to the name you want (i.e. "MySuperApp"). This is the simplest,
pain-free solution.
Sure, you need to modify Bundle display name in your .plist file
Actually there are several "app names"...
(such as several people call you "friend", "John", "father", "son",... hehehe!)
1) the name that you see below the icon - you can change in several ways, but the best suggestion is from #gWiz, just change your "Bundle display name" in your Target properties (tab "Info", or you can find it called "Display Name" in the tab "General").
Bundle display name: (Required, Localizable) The user-visible name of the bundle; used by Siri and visible on the Home screen in iOS. See CFBundleDisplayName for details.
2) the Bundle Name, found in the same "Info" tab, is not "the name the App appears on the AppStore" as suggested by #gWiz, rather:
Bundle Name: (Recommended, Localizable) The short name of the bundle; not intended to be seen by the user. See CFBundleName for details.
3) another name is the Product Name, that you can find in "Build Setting" tab - #Lihn suggestion is okay, as from Apple documentation "The product name is the name of your app as it will appear to customers in the store and should be similar to the app name you enter later in iTunes Connect."... but this is a bit confusing, and not 100% correct. In iOS the "Product Name" is not used too much, just forget it. In MacOS maybe you can see somewhere... (suggestions?)
4) the name that you see in AppStore, this is asked in iTunesConnect when you create a new app (or want to modify metadata with a new binary version), and is usually just called "Name", or "App Name" in Apple documentation...
App Name: (Required, Localizable) The name of the app as shown in AppStore.
5) Name of the schemes, name of the targets,... probably you're not interested, or you can experiment by yourself, or read Apple docs (better to experiment, for me)
At the moment I cannot give you more details, as:
but the main idea is:
The name below the icon, on the device, can be edited at a new binary submission changing "Bundle display name"
The name of the app, as seen inside the AppStore, can be edited again every new binary submission, changing "Name" or "App Name" directly in iTunes.
...and both are localizable.
The app name is the Product name for Debug/Release in Build Settings -> Packaging.
If you change it then the Bundle name and Bundle display name might change too if the default ${PRODUCT_NAME} value is there.
According to the Apple docs Bundle Display Name is the name that is displayed under the app icon while Bundle Name is a short name of the above but I am unaware of anything that uses it.
just double click on your project name and rename it, then it will ask for changing all references in project click change.
For changing the apps name see https://developer.apple.com/library/ios/qa/qa1625/_index.html
However, the directory for the app's data will change as well. If you want to move some data, you can find the directory used by the simulator e.g. with:
NSString *homeDir = NSHomeDirectory(); NSLog(#"%#",homeDir);
before and after renaming and use 'Go to Folder' in finder to get there.