/ipa_re_sign

Re_sign an ipa using Apple Enterprise Certificate 使用企业证书 对 ipa 进行重签名.

Primary LanguageShellApache License 2.0Apache-2.0

ipa _re_sign

中文介绍

This shell script re_sign an ipa using Apple Enterprise Certificate .


Preparation

1 ipa file you would like to re_sign

2 Apple Enterprise Distribution Certificate double click then will found in keychain

3 Distribution mobileprovision file *.mobileprovision

4 New BundleID in accordance with the mobile provision file in [^3]


Usage

1 set execution permissions to Resign.sh or Resign_en.sh eg : chmod +x ./Resign_en.sh

2 drag 'Resign_en.sh' to command line tool

3 according to the prompt message, select the distribution certificate you would like to use. Only select content within double quotes Eg. iPhone Distribution : ****.co .,LTD.

4 drag the ipa file to command line tool

5 drag the mobileprovision file to command line tool

6 input the new BundleID

7 Done ! (if no error occurs 😂)


Check Dependency

Including but not limited to the following

1 check codesign ,

2 check security ,

3 /usr/libexec/PlistBuddy