gioma 19 Posted October 17, 2019 Hi. I have a problem with the app name when I deploy it for iOS. I changed the value of "CFBundleDisplayName" but when the app is installed it takes the "${modulename}" value as its name. What else do I have to do? Share this post Link to post
Rollo62 536 Posted October 17, 2019 http://docwiki.embarcadero.com/RADStudio/Rio/en/Provisioning_an_iOS_Application Not sure if I understnad you right, but this is the desired behavior. Quote Go to Project > Options > Version Info Update the CFBundleIdentifier field to include the Bundle ID such as for example: com.mycompany.$(ModuleName) The name of the Project (ModuleName) is taken usually as name, no need to make other changes Or are you talking about the AppStore, where you can set a app-name freely (more or less). Share this post Link to post
gioma 19 Posted October 17, 2019 No, I didn't explain myself well, I wanted to change the name that is displayed once the app is installed. On Android it works by changing the "Label" key, while on iOS it should work by changing the "CFBundleDisplayName" key but it doesn't work! https://community.embarcadero.com/article/technical-articles/145-ui/973-how-can-i-change-name-of-firemonkey-mobile-application-to-contain-spaces Share this post Link to post
Rollo62 536 Posted October 17, 2019 Why not changing the project name, because of there are spaces in the name ? I try to avoid spaces at all cost, this I learned from too many lessons. You can use spaces in the AppStore title. Never tried: What happens if you use the project name with spaces (is that even possible) ? Maybe its a character issue in iOS: https://stackoverflow.com/questions/46337691/bundle-display-name-missing-space-characters How is this noted in the " "Info.Plist" file, maybe you can find some hints there ? Share this post Link to post
gioma 19 Posted October 17, 2019 (edited) I can't change the project name. But anyway according to this delphi guide it is possible to do this: https://community.embarcadero.com/article/technical-articles/145-ui/973-how-can-i-change-name-of-firemonkey-mobile-application-to-contain-spaces The problem is that on Android it works, while on iOS it doesn't. Yet another Delphi bug? Yet the "Info.Plist" file is created well, and the key "CFBundleDisplayName" has the correct value. Except that when you install the app, the project name is displayed as the app name. Other Apps show the name with spaces, I don't understand why I can't do it with my app ... However it is not just the problem of inserting a space, I would like a different name for the app than the project one! Edited October 17, 2019 by gioma Share this post Link to post
Rollo62 536 Posted October 17, 2019 17 minutes ago, gioma said: https://community.embarcadero.com/article/technical-articles/145-ui/973-how-can-i-change-name-of-firemonkey-mobile-application-to-contain-spaces That is from 2014, so many iOS versions inbetween. I think the link I provided shows some hints that this could be an iOS issue, especially if the info.plist is correct. Maybe you need to add non-breakable-spaces or some other instead of a normal space. Quote   works only when typed in *.plist. Can't be inserted in Display name in Xcode project settings; Share this post Link to post
Dave Nottage 557 Posted October 17, 2019 4 hours ago, gioma said: The problem is that on Android it works, while on iOS it doesn't. Changing CFBundleDisplayName works OK for me. Here's my steps: 1. Create a blank FMX project 2. Save it as: Fred 3. Compile/Deploy to iOS device - it appears as "Fred" 4. Change CFBundleDisplayName from $(ModuleName) to: Bob 5. Compile/Deploy to iOS device - name changes to "Bob" Share this post Link to post
Sherlock 663 Posted October 18, 2019 @Dave Nottage For the sake of the use case here, please try changing the name to "Bob the developer" (blanks in the name seem to be an issue). Share this post Link to post
Dave Nottage 557 Posted October 18, 2019 30 minutes ago, Sherlock said: changing the name to "Bob the developer" (blanks in the name seem to be an issue). Changed to: Bob Is A Developer Works OK. If it helps, my setup is: Delphi 10.3.2 iOS 12.4 SDK iPhone X running iOS 13.2 Xcode 11.1 2 Share this post Link to post
gioma 19 Posted October 18, 2019 I did the same thing, it doesn't work. It always install the app named with the value of $ {modulename}. Delphi 10.3.2iOS 13.1 SDKXcode 11.1 😭 Share this post Link to post
Dave Nottage 557 Posted October 18, 2019 11 minutes ago, gioma said: I did the same thing, it doesn't work. Following exactly the same steps, from scratch? Share this post Link to post
gioma 19 Posted October 18, 2019 I created the project, compiled it and installed it on the phone and by default it took the name of $ {modulename}.I changed the value of CFBundleDisplayName to "Progect Options-> Version Info" with the name I would like it be displayed, but it remains the default one. I checked the .plist file and in fact it is the correct one. I don't know what else to do, I have to distribute but I'm stuck with this s@it. Share this post Link to post
gioma 19 Posted October 18, 2019 (edited) It only worked once, with the Debug version, but then it returned to the initial situation! In my opinion it is a bug .. Edited October 18, 2019 by gioma Share this post Link to post
gioma 19 Posted October 22, 2019 ok, I solved. I have created a new project and now it works! 1 Share this post Link to post