Resign your app with fastlane
1.Setup fastlane environment:
https://docs.fastlane.tools/g...ios
2.terminal
sudo gem install fastlaneruby
3.command:
cd <<ipa path>>app
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>>ide
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.ipaip
ps:注意空格格式,ruby version>2.3.0
成功提示‘ Successfully signed xxxx.ipa!'terminal
驗證是否重簽名成功,打開ipa解壓,Payload路徑文件下有個文件,顯示包內容 ,能夠看到ipa包的全部內容。打開info.plist,找到Bundle identifier查看是否已經更改get