DanTheMan827 / ios-app-signer

This is an app for OS X that can (re)sign apps and bundle them into ipa files that are ready to be installed on an iOS device.
https://dantheman827.github.io/ios-app-signer
GNU General Public License v3.0
5.57k stars 1.05k forks source link

Is it possible to resign an IPA without change the bundle id? #110

Closed buptwsg closed 4 years ago

buptwsg commented 5 years ago

Hi, I have one enterprise certificate signed IPA file, and I want to resign it with another enterprise certificate, but I don't want to change the bundle id. So for the 'Provisioning Profile' option, I choose 'Re-Sign Only'. The resign is successful, but new IPA couldn't be installed onto device.

Does this app support my requirement?

Please help me, thanks!

DanTheMan827 commented 5 years ago

"Re-Sign Only" just takes the provisioning profile already inside the package and signs everything with the certificate you select.

The provisioning profile and certificate have to be from the same account, if they aren't, the app will not install.

What you're looking for is a wildcard provisioning profile, that will let you re-sign without changing the bundle ID, but things that require special entitlements will not be usable.

buptwsg commented 5 years ago

Hi DanTheMan827, Thanks for your help. I tried to create a wildcard provision profile, but when the type is Distribution / In House, only explicit app ids are list in the drop box. So I can't create such provisioning profile.

Do you have any idea? Thanks.

DanTheMan827 commented 4 years ago

it seems apple doesn't allow distribution with a wildcard identifier, you'll need to use ad-hoc distribution if you want to be able to use a wildcard identifier.

https://help.apple.com/xcode/mac/current/#/devba5e7054d

Step 5: Release your app to users within your organization If you have the Account Holder or Admin role, follow the same steps to distribute to registered devices except you don’t need to register devices before you export your app. When you export the app, select the Enterprise distribution method. Note that you can’t distribute an enterprise app using a wildcard App ID.