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 answers
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
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in APP-STORE
- Instagram API: Fetching user posts
- How do you set up a paid subscription on a website while still adhering to App Store guidelines?
- ios sdk swift : Show in-app app update/install prompt
- React Native crashes in AppStore builds
- Problem with app store connect with individual account
- Is there a way to get updated date of an iOS app version using App Store Connect REST API?
- ITMS-91053: Missing API declaration - Privacy on flutter
- react-native-iap listen to Apple new purchase and cannot verify the transaction
- Addressing ITMS-91053: Missing API declaration warnings
- Launch KEGGscape
- Clients' Policy Violations Risk for App Store & Google Play
- Asset validation error on App Store upload
- ITMS-91053: Missing API declaration - Privacy
- App Store: How to setup a fixed price with a free trail
- Complete Compliance Requirements for your apple account
Related Questions in PROVISIONING-PROFILE
- Any problem with creating provisioning profile with old Iphone?
- Xcode Provisioning Profile certificate error for iOS App Development
- Unable to create Provisioning Profile for iOS App Development (no certificates available)
- Provisioning profile doesn't include signing certificate
- iOS Build Failure in Codemagic due to Missing Code Signing Certificates for TestFlight Deployment without MAC
- Xcode - "Could not attach to pid" and "app cannot be installed because it's integrity could not be verified" errors
- XCode 15 Provisioning Profile without Developer account
- Xcode 15 doesn't support for iOS distribution certificate any more?
- xcode build error in Github Actions : Xcode couldn't find any iOS App Development provisioning profiles ... why not Distribution profile..?
- Xcode: Communication with apple failed, No profiles for xxxxxx found
- Using Adhoc Profile for DriverKit show error: Xcode 14 and later requires a DriverKit development profile enabled for iOS and macOS
- How to create iOS app (ipa) via signing certificate and provisioning profile of client
- iOS profile issue
- iOS App Store provisioning profile doesn't have Devices included
- Xcode Doesn't include signing cert "X" when downloading it
Related Questions in IOS-PROVISIONING
- PKAddPaymentPassViewControllerDelegate implementation issue Swift
- iOS App Store provisioning profile doesn't have Devices included
- "Unable to Verify App" message started to appear for an already existing iOS app
- ADO CI pipeline builds keep failing due to inability to use a specific profile for 1 target and the wildcard profile for all other targets/bundle ids
- Can't use App Group Capability in Xcode with a .mobileprovision file
- Getting 'Failed to install one or more provisioning profiles on this device' on Xcode 14.2
- Flutter xCode iOS archive not working with provisional certificatte
- App Store builds for Xamarin.iOS keep failing on Visual Studio
- iOS app provisioning profiles and Microsoft Endpoint Manager (Intune)
- What is right method to pass activationData from app to Apple Wallet?
- How do I extend the amount of time my provisioning certificate is valid for my iOS app?
- automatic provisioning failed xamarin.ios vs2022 without a mac
- Xamarin log in to Apple account gets incorrect authorization
- Signing iOS application for internal deployment with Push Notifcations
- Xamarin iOS code signing key not found in keychain
Related Questions in MOBILEPROVISION
- Hiding embedded.mobileprovision from IOS app
- Download the mobileprovision profile using appstore connect api with node express app
- Phonegap Build Error: Xcode could not determine type of profile / No signing certificate "iOS Distribution" found - Xcode 11 or Xcode 10.1
- Upload app on client app store connect with .p12 and .mobileprovision
- Finder Preview not showing details of mobile provisioning profile under Mojave
- In an Enterprise iOS app, how to replace the *.mobileprovision file on device after existing profile expired, but without re-signing the IPA?
- iPhone has denied the launch request - On provision profile
- assign new provision profile to ipa after the old one is expired
- Contents of embedded.mobileprovision always remains constant?
- Where and how to install provisioning profile in Visual Studio for Xamarin.Forms?
- Error while installation iOS app on device
- iOS app: manually copy .mobileprovision file to keychain without xcode
- No signing certificate "iOS Distribution" found
- how to create certificates, keys, .pem and .p12 file without using mac to create an ipa?
- App Binaries: files submitted
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?
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)
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.