Resign your app with fastlane
1.Setup fastlane environment:
https://docs.fastlane.tools/g…
2.terminal
sudo gem install fastlane
3.command:
cd <<ipa path>>
4.Resign Command
fastlane sigh resign -g <<bundleId>> –signing_identity “<<distribution certificate full name>>” -p “<<provision file absolute path>>” –short_version 9.2 –bundle_version 1 –use_app_entitlements <<IPA name>>
example:
fastlane sigh resign -g com.test –signing_identity “iPhone Distribution: TestDemo (XXXXXXXXXX)” -p “/Users/abby/Documents/APP/TEST.mobileprovision” –short_version 9.2 –bundle_version 1 –use_app_entitlements wrapped.ipa
ps:注意空格格式,ruby version>2.3.0
成功提示‘ Successfully signed xxxx.ipa!’
验证是否重签名成功,打开ipa解压,Payload路径文件下有个文件,显示包内容 ,可以看到ipa包的所有内容。打开info.plist,找到Bundle identifier查看是否已经更改