node-applesign icon indicating copy to clipboard operation
node-applesign copied to clipboard

Resigning of Apps with Extensions (Share) is not supported

Open anjaneyulu-battula opened this issue 3 years ago • 3 comments

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 avatar Jun 01 '21 01:06 anjaneyulu-battula

@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.

anjaneyulu-battula avatar Jun 02 '21 05:06 anjaneyulu-battula

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

trufae avatar Jun 03 '21 00:06 trufae

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.

anjaneyulu-battula avatar Jun 04 '21 14:06 anjaneyulu-battula