ios app name

Greetings EveryOne,

Is there a way to set the “ios app name” and the “bundle Identifier” with a IDE Script for an iOs App ?

Thanks,
Fred

I do not know the answer, but shouldn’t you only need to set those once?

Well, I tried several things without success

And I would like to do it to avoid duplicate the project, as I plan to have at least 2 apps with some differences and , of course, a different name…

Settting a constant and changing AppName and Bundle identifier could allow me to so…

I seem to able to acces the Bundle Identifier, with something like :
Id = PropertyValue (“App.Bundle Identifier” )

but no way to guess what is the name of the Propetty value of iOs App Name so far…

Really ?

No way to st the “ios app name” with an IDE Script ?

You can do it indirectly
Create a module with a couple of constants, like Module1 with a constant named myAppName and another one named myAppBundleID

set the iOS app name to #Module1.myAppName and the iOS bundle ID to #Module1. myAppBundleID

Now via IDE script you can do:
call SelectProjectItem “Module1”
ConstantValue (“myAppName”)=“App name test”
ConstantValue (“myAppBundleID”)=“com.test.newbundleid.whatever”

[quote=237775:@FrdricQUOIREZ]Really ?

No way to st the “ios app name” with an IDE Script ?[/quote]

If it is possible, like it is with App.MacOSXappName for Mac, Norman will probably know.

Supposed to be able to but looks like there’s a bug in there preventing this from working

<https://xojo.com/issue/41955>

Norman, you’re the best :slight_smile:

Thanks Antonio ! Very clever

And Norman to fix it.