How do I change the name of a multiplatform app wi...
# ios
j
How do I change the name of a multiplatform app with an iOS target? Updating the Xcode->Target->General->“Display Name” as per normal does not help
p
There are other Xcode steps involved. Look up how to rename a module in Xcode, in general.
j
In projects created from JetBrain's latest templates, there's an
APP_NAME
property you can change in the
iosApp/Configuration/Config.xcconfig
file.
j
I’m building a project without the APP_NAME, but I guess I can use it to determine which values I need to change.
How is the
APP_NAME
variable in
iosApp/Configuration/Config.xcconfig
consumed by gradle build and Xcode?
I only see Android consuming it when searching for the
APP_NAME
variable in the JetBrain’s latest template project
j
The
app_name
string Android uses is different. It's in the res/values/strings.xml file in the Android app.
👍 1
j
How does Xcode pick up the variable from the config file?
j
Ultimately it's in the iosApp.xcodeproj/project.pbxproj file that the name is configured. The newer template uses the properties from Config.xcconfig in project.pbxproj. I think you can also configure it from info.plist.
🙌 1
444 Views