I got an Ipa and the provision profile of the app that is expired, I've created a new provision profile on apple, is there a way to assign the new one to the current Ipa? without configuring it in xcode
assign new provision profile to ipa after the old one is expired
1.2k Views Asked by Nadav At
2
There are 2 best solutions below
0
Carrione
On
You can use this shell script (Thank you Daniel Torrecillas).
- prepare a directory,
- add your old ipa file, a new provisioning profile (.mobileprovision) and a downloaded shell script to the directory,
- open a terminal in the directory,
- add permissions to the script in the terminal using the command
chmod 755 resign-ios-app
- call the script with 3 or 4 parameters: 1- the path of the old ipa file, 2- the path of the new provisioning profile, 3- the name of the distribution certificate in the Keychain, 4 is optional - the new bundle identifier.
./resign-ios-app 'olderIpaFileName.ipa' 'newProvisioningProfileFileName.mobileprovision' 'Apple Distribution: TeamName (teamID)'
As a result, you get the resigned.ipa file into the directory where the shell script is (it is your working directory from step 1).
Now you can use the resigned ipa file and delete your work directory from step 1.
Note: The script creates several subdirectories and plists. They are important only for the script itself. You can delete them.
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in APP-STORE
- "Invalid Signature, code object not signed at all" error
- Missing 64-bit support when uploading to appStore
- IOS Submitted App to the AppStore Rejected
- Is Apple app reject my app if my app redirected to settings page?
- particleSystem perform different download from App Store
- Merge two apps in AppStore
- Submit 64 bit only app
- Cordova + iOs Publishing Error ITMS90035 - Invalid Signature. Code object not signed at all
- Xcode Organizer different version number?
- Can there be multiple entry points for showing 1 In-App Purchase for iTunes?
- Invalid Signature when update an app on Appstore after changing project to workspace
- IOS IAP: Buying same item multiple times
- Apple Beta Review Process
- Test APP Receipt Expiration Date (for Apple VPP)a
- What should be the rating for this app?
Related Questions in PROVISIONING-PROFILE
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- UUID instead of UDID while adding device
- iOS Enterprise App Distribution – Provisioning Profile expired
- How to avoid rebuild ipa file in enterprise distribution due to expired profiles
- Does a provisioning profiles expiry date depend on the linked certificates date?
- iOS Development build suddenly not downloading on a device who's UDID is registered
- Beta from Crashlytics fail to install build on testers' devices
- iOS Enterprise distribution - Steps?
- No matching provisioning profiles
- No matching profisioning profiles found error ios xcode 6.3.2
- ERROR ITMS-90174: "Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision."
- App validation error, CloudKit entitlements error
- How to build an iOS binary without setting an Apple Developer account and team?
- App Installation failed - The application does not have a valid signature on build
- iOS//Provisioning Profiles//Old Data&New Data
Related Questions in IOS-PROVISIONING
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How can I setup the distribution build to get watchkit App working?
- iOS Development build suddenly not downloading on a device who's UDID is registered
- Is it possible to get a crash log due to expiration of provisioning profile?
- Missing Production Certificate
- How do I know if my current apple account is developer or enterprise one
- SpriteKit-based app not running on real device
- ERROR ITMS-90174: "Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision."
- Unable to add device in Apple Developer Program
- How to signig existing .ipa or app. with provisioning profile
- How can we test ios release app. in device with wildcard provisioning profile
- MDM iOS Enterprise app distribution
- Where do I see the iOS Distribution Provision Profile expiration date with iOS 8?
- Do I have to create a new SSL for additional apps in iOS?
- iOS 8.1 Can't install OTA Enterprise app - "Unable to download app"
Related Questions in MOBILEPROVISION
- iOS app: manually copy .mobileprovision file to keychain without xcode
- Download the mobileprovision profile using appstore connect api with node express app
- Error with provisioning profile during app installation
- HOWTO: get info from iTunes Distribution certificate and signing key (P12 file) and mobileprovision
- How testflight is resigning with new mobile provisioning profile with out certificate?
- Hiding embedded.mobileprovision from IOS app
- App Binaries: files submitted
- Get back to preious page after ios profile installed
- assign new provision profile to ipa after the old one is expired
- Error while installation iOS app on device
- Get UUID from .mobileprovision File using Nodejs
- In an Enterprise iOS app, how to replace the *.mobileprovision file on device after existing profile expired, but without re-signing the IPA?
- Finder Preview not showing details of mobile provisioning profile under Mojave
- Pushwoosh iOS integration
- how to create certificates, keys, .pem and .p12 file without using mac to create an ipa?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should be able to swap out the embedded.mobileprovision file in the ipa, then re-sign the app. You have a couple of options to do this:
The easiest solution is to use the fastlane's resign tool.
You can write a shell script to manually extract the contents of the IPA, replace the provisioning profile, then call codesign to re-sign the binary. More details can be found here.