Last active
December 23, 2015 10:44
-
-
Save smirn0v/6425865 to your computer and use it in GitHub Desktop.
Resign
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. extract old entitlements | |
| codesign -d --entitlements :entitlements.plist Payload/PathToApp.app/ | |
| 2. fix entitlements, or just copy from provisioning profile | |
| 3. copy new provprofile to Payload/PathToApp.app/embedded.mobileprovision | |
| 4. fix bundle id in info.plist | |
| 4.1 /usr/libexec/PlistBuddy Info.plist | |
| 4.2 set CFBundleIdentifier new.app.bundle.id.with.no.team.id | |
| 4.3 save | |
| 4.4 quit | |
| 5. force resign | |
| codesign -f -s "iPhone Distribution: Mail.Ru LLC" Payload/AutoMailRu.app/ --entitlements entitlements.plist | |
| 6. xcrun -sdk iphoneos PackageApplication -v ./Payload/AutoMailRu.app -o /Users/smirnov/Auto.ipa --embed embedded.mobileprovision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment