When creating applications for environmental units such as development, application, and testing, I would like to create ipa files for each environment only by changing the contents of the xCode build without starting with Unity build every time.

Asked 1 years ago, Updated 1 years ago, 49 views

If anyone has the following knowledge, could you please let me know?

After building Unity in Jenkins, I want to change Jenkins' xCode settings (such as using shell or xCode Plugin) so that I can create an app with a different name than the Bundle Identifier configured in Unity.

When creating environment-specific applications such as development, application, and testing, I want to create ipa files for each environment by changing the xCode build contents, not starting with Unity build every time.

The build MacBook already has certificate and provisioning files for development, application and testing.

I did the following in Jenkins configuration:

I don't know how to change the ProductName.
I would like to use the character after Bundle Identifier in Info Plist after changing ProductName.
After the build was complete, the ○○.app and ○○ part of the ○○.dSYM file remained the characters after the Bundle Intentifier configured in Unity.

  • MacBook Pro (2.8 Ghz Intel Corei7)
  • Unity 4.5.5f1
  • Xcode 5.1.1
  • Jenkins (with xCode Plugin 1.4.5 and Unity 3d Plugin 0.6)

unity3d xcode

2022-09-30 17:12

1 Answers

I haven't tried it, but the following commands may change it.

xcodebuild-target (target name) - configuration (Configuration name) build PRODUCT_NAME=product name

Example:

xcodebuild-target MyApp-configuration Debug build PRODUCT_NAME=NewName


2022-09-30 17:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.