nowsecure / node-applesign

NodeJS module and commandline utility for re-signing iOS applications (IPA files).
https://www.nowsecure.com
MIT License
420 stars 77 forks source link

Resigning of Apps with Extensions (Share) is not supported #123

Open anjaneyulu-battula opened 3 years ago

anjaneyulu-battula commented 3 years ago

We have added a share extension in the application, to resign the share extension I didn't find the proper command. is this has support for resigning Share Extension ?

anjaneyulu-battula commented 3 years ago

@trufae @mrmacete @dweinstein Can you please help me with this, we are using this for a long time, but now I am unable to resign the IPA file because of the share extension.

So node-applesign supports extension resign also? based on your reply I need to try some other alternatives and we have a deadline.

trufae commented 3 years ago

The problem is related to rebundling the package, if you don't really need to do that just avoid passing -b. With this patch i can resign, install and run the app with app extensions.

I have fixed this bug in https://github.com/nowsecure/node-applesign/pull/124

anjaneyulu-battula commented 3 years ago

With this fix also I am unable to resign the app, getting unable to install error

Previously I am using the below command to sign the IPA file and it is working (It doesn't have the share extension) ./node-applesign-master/bin/applesign.js -i “Certificate” -b “com.YOURCOMPANY.product” -m appprofile.mobileprovision -e entitlements.plist -v -l arm64 -o appresigned.ipa app.ipa

In Latest app It has the share extension feature, now project contains two targets: So now we have to use two provisioning profiles to sign the IPA file, one is for the app, another is for the extension. Can you please explain a little bit more about the command and which command I have to use to sign the IPA? it should accept two provisioning profiles.