Apple iOS IPA Generation
This guide provides detailed instructions for generating the Apple iOS IPA (iOS App Store Package). This file is the final output of your iOS mobile application development and is needed to distribute the application on the iOS platform.
Prerequisites:
Ensure that you have the following tools installed and setup:
- Flutter SDK
- Xcode for iOS IPA generation
Setup
- Navigate to the
rekindle-flutter/ios directory in the terminal and run pod install - Open Xcode, then open the Xcode workspace file
/ios/Runner.xcworkspace - In the Project navigator, select the Runner folder
- On the General tab, set the Minimum deployment to iOS 11
- In the Project navigator, select the Pods folder
- On the Info tab, set the iOS deployment target to iOS 11
Apple iOS IPA Generation and submission to App Store Connect
- Check the version number in
pubspec.yaml and in web/index.html they should be the same - In the terminal run
./build-client-ios.sh <CLIENT> <ENVIRONMENT> <HOST>- ie. for AGSA Staging
./build-client-ios.sh agsa staging portal.rekindleapps.com - ie. for Crosshill Production
./build-client-ios.sh crosshill production portal.rekindlelearning.com
- In Xcode:
- Select the “Runner” folder in the Project navigator
- On the “General” tab:
- Update “Display Name” accordingly (it must match the App Store name)
- Ensure the “Version” is correct for the release sequence
- Ensure the “Build” is correct for the next in sequence
- On the “Sign & Capabilities” tab:
- Set the “Team” to
Rekindle Learning (Pty) Ltd.Note: You should have necessary access rights to this team on the Apple Developer Account
- Update the “Bundle Identifier” accordingly
com.rekindlelearning.<CLIENT_NAME>
- Go to “Runner/Runner/Info” in the Project navigator
- Find the field “Build name”
- Update it to match the display name (for example: “AGSA Shift”)
- On the “Product/Destination” menu, ensure “Any iOS device (arm64)” is selected
- In the “Product” menu click
Archive. This action prepares the app for publishing - After archiving, a dialog box will open. To upload the app to the App Store:
- Make sure the correct client is selected
- Click “Distribute App”
- Select “Test Flight & App Store”
- Select “Distribute”
- Leave all other settings at their default
- Go to TestFlight in App Store Connect and check that the app version has uploaded correctly, this might take a couple of minutes.
- If there is an export compliance warning in Test Flight, select the “Standard encryption”.
Note: Due to export restrictions, the app won’t be published in France. This restriction is related to encryption laws and trade agreements