resign ipa and install to apple device (iOS, TVOS) using fastlane and cfgutil on MacOS
git clone https://github.com/karelrooted/resignipa.git && cd resignipa
bash resignipa.sh -i <path/to/ipa>
Before adding cronjob, you have to follow this onetime only step first
- in Terminal
cd resignipa && open resignipa.xcodeproj
- in Xcode
choose the device you want to install in the running destinatin list, click
resignipa
with blue icon in the top left, chooseresignipa
target, openSigning & Capabilities
and select yourTeam
and type in your unique BUNDLE_IDENTIFIER . - in Terminal
xcodebuild -target resignipa PRODUCT_BUNDLE_IDENTIFIER=<your.bundle.id> -allowProvisioningUpdates 2>/dev/null | grep --fixed-strings --after-context=2 'Signing Identity:'
cd -
- the output signing-identity and profile from last command can be used on the following automatic command
bash resignipa.sh -i <path/to/ipa> -s "signing-identity" -p "<profile_name>" -d <device_name_or_ecid>
bash resignipa.sh -i ~/kodi.ipa -s "Apple Development: root@gmail.com (T6SL8W599A)" -p "tvOS Team Provisioning Profile: com.xxxx.kodi" -d Livingroom-AppleTV