Resigning the app iOS 16

We have .ipa build and we use provisioning profiles to resign the app to our own certificate for testing purposes, while this seems to be working fine before iOS 16, now when we resign the app and try to install it, it gives away the following error:

  **"<BUNDLE ID 2>"**

Things that I have verified, after resigning build, inside .ipa -> info.plist <key>CFBundleIdentifier</key> has the same value which matches to Bundle ID of the identifier I have created in my developer apple account.

I am a newbie iOS development and trying to learn, please forgive if my question is not clear. Happy to share any more details. Thanks 🙏

This is the error, another question would be where this expected bundle ID is coming from <BUNDLE ID 1>? (Installing the .ipa file directly)

The item being installed did not contain an app with bundle ID "<BUNDLE ID 1>", but it did contain app(s) with bundle ID(s): {(   "<BUNDLE ID 2>"

We have .ipa build and we use provisioning profiles to resign the app to our own certificate for testing purposes

I recommend against using this workflow. It requires you to unpack the .ipa, re-sign all the code in exactly the right way, and then repack it. That process is hard to get right [1].

A better approach is to have your app developer send you an Xcode archive (.xcarchive). Add that to your Xcode organiser and then select it, click Distribute app, and have the organiser re-sign it in the way that you want.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] DTS does not support manual code signing for iOS. We do support it for macOS, resulting in a six page post explaining how to do it correctly.

Resigning the app iOS 16
 
 
Q