How can I modify bundleID of an app after building ipa file? I try to modify the bundle id in my app by :
- unzip ipa
- modify bundle id in info.plist within app
- resign app with entitlements
4.zip ipa but ipa appeared to not be able to install on iphone is that any way to modify bundle id after building ipa file? Thanks for your Support
How can I modify bundleID of an app after building ipa file?
Not easily.
I try to modify the bundle id in my app …
I recommend against this process in general. If you want to re-sign an iOS app, the best way to do that is to start with an Xcode archive. You can then re-export the app using the Xcode organiser, or xcodebuild
, and Xcode will take care of all the code signing issues.
However, that process won’t necessarily work for changing the bundle ID. There are many reasons for this, including:
-
The bundle ID forms part of the App ID, and the App ID has to be registered with Apple.
-
If the app contains an app extension, its bundle ID must be an immediate child of the app’s bundle ID.
-
Even if you get all of that right, you can still run into problems. It’s not uncommon for the code within the app to use the bundle ID in various places. For example, it might have a keychain access group that’s derived from the bundle ID. It’s uncommon for folks to derive that at runtime; it much more common for them to simply hard code it. And if they do that, things will go wrong if you change the bundle ID.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"