IPA Files Creation for BrowserStack
iOS is the second most popular mobile operating system. For businesses to succeed in the digital marketplace, having an iOS app that meets end-user requirements is mandatory. This requires the creation, release and testing of iOS apps that are well optimised for all iOS versions in use. In order to test their app on BrowserStack, developers need to upload .ipa
files(for iOS) on BrowserStack cloud.
You may also use .ipa
files produced by applications other than Xcode. Please follow the below given procedure while creating .ipa
files so that your testing experience is smooth and unwanted errors are minimal.
Build IPA files for Real Devices
Constructing a .app bundle
-
In Xcode, launch your app project.
-
Choose a iOS Device (arm64) or any Generic iOS Device as the device target for your project.
-
Choose Clean from the Product menu.
-
Go to the Product menu and choose Build.
-
Redirect to the generated
.app
file after going to the Products directory of your Xcode project.
Making a .ipa package out of an .app bundle
-
Create an empty directory called Payload.
-
The .app file should be moved into the Payload directory.
-
Create a new file with the extension “.ipa” and give it a new name after compressing the Payload directory.
-
You can now upload your .ipa file to BrowserStack.
Generating .ipa file without .app file
For iOS , you can use any of the currently available distribution techniques, except App Store kind. This indicates that you have a choice between the Ad Hoc, Enterprise, or Development export methods.
-
Launch your app project in Xcode.
-
Choose Generic iOS Device or Any iOS Device (arm64) as the device target for your project.
-
Go to the Product menu and choose Clean.
-
Choose Archive from the Product menu. You’ll see your app listed in Archives once the archiving procedure is finished.
-
Choose your application, then click Export.
-
Select Ad Hoc, Enterprise, or Development as the export method when prompted.
- These Distribution options should be set:
- App Thinning: None.
- Clear the selection Rebuild from Bitcode.
- Strip Swift symbols is optional.
- Clear the selection Include manifest for over-the-air installation.
-
Choose your provisioning profile (Automatic or Manual) and distribution certificate. The
.ipa
file will be created as a result. -
Click Export after the file generating process is finished, then select a location to save the
.ipa
file. - You can now upload your .ipa file to BrowserStack.
Building .ipa Files for Appium Test Sessions
If you need to preserve your provisioning profile in the .ipa
file, deactivate the App Resigning option while initialising the device setting for your app in the cloud.
App resigning can also be turned off using the Appium capability resigningEnabled=false. This option can only be used by private devices.
Need some help?
If you have any queries, please get in touch with us.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!