Hi all,
I am facing an error when I try to upload my resigned .ipa file to the App Store. Basically what we want to achieve is that we get an unsigned .ipa file from an external company (we don't own the source code for this app), and we want to distribute that with our company developer account. (as a private app)
We already have a Developer Account, I registered the App, Bundle Id, created certificate, App Store provisioning profile etc.
And with these I resigned the .ipa file. But when I try to upload to the App Store (via altool command) I have the following error:
parameter ErrorMessage = ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '***.com.company.myappname' for key 'application-identifier' in 'Payload/FSARN.app/Frameworks/FMDB.framework/FMDB' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier." ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '***.com.company.myappname' for key 'application-identifier' in 'Payload/FSARN.app/Frameworks/PubNub.framework/PubNub' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier." ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '***.com.company.myappname' for key 'application-identifier' in 'Payload/FSARN.app/PlugIns/SVMXNotificationContentExtension.appex/SVMXNotificationContentExtension' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier." ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '***.com.company.myappname' for key 'application-identifier' in 'Payload/FSARN.app/PlugIns/SVMXNotificationServiceExtension.appex/SVMXNotificationServiceExtension' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier. (1102)
The difficulty here is that the app contains a few FrameWorks and Plugins inside. (2 frameworks: FMDB.framework, PubNub.framework, and 2 plugins --> .appex) But those 'embedded apps' should have also a unique bundle id, right?
Is it possible to resign this kind of .ipa file with our own cert and distribute via App Store as private app?
I think it should. I found and used this command line script, which is checking and handling Frameworks and Plugins: https://github.com/xndrs/XReSign/blob/master/XReSign/Scripts/xresign.sh
Thanks:)