Configuring iOS Builds
Last updated
Was this helpful?
Last updated
Was this helpful?
In order to generate the needed files to publish the wallet to the Apple Store several configuration steps are needed. You can read about getting started with iOS apps .
In the ../build-config.json file set build-ios: true
.
Sign up for an
Create your new app
Go to
Click on the (+) to add a new Identifier
Select App Ids
and click Continue
Select App
and click Continue
Enable the following Capabilities
iCloud (include CloudKit support)
Push Notifications
Time Sensitive Notifications
Add a Bundle ID (for consistency use the same bundle ID that you used for Android)
Click on Continue
Click on Register
If you don't have an iCloud container already registered click on the (+) to add one
Select the App ID you created in the previous step
Scroll down to the iCloud capability
Click on the Configure
(or Edit
) button
Select your iCloud Container from the list and click Continue
Select the App ID you created above
Scroll down to the Push Notifications capability
Click on Configure
Note: any time you make a change to your App ID you need to re-run fastlane match
. See instructions below.
Register your app as iOS app. You can find your Bundle Identifier here: https://developer.apple.com/account/resources/identifiers/list
Upload Apple Push Notification certificates
Go to Project Settings
-> Cloud Messaging
Scroll down to Apple app configuration
Expand the APNs Certificates
section
Upload the Development and Production SSL certificates you created in the previous step
Go back to Project Settings -> Cloud Messaging and download the GoogleService-Info.plist
file
Replace the GoogleService-Info.plist
file in ../ios/GoogleService-Info.plist
iOS requires that all apps be digitally signed with a certificate before they can be installed. In order to distribute your iOS application via Testflight or App Store it needs to be signed with a release key that then needs to be used for all future updates.
NOTE: This requires access to a computer running MacOS.
fastlane match
This command will generate all of your certificates and provisioning profiles needed to build and sign your applications. They are encrypted using OpenSSL via a passphrase.
Do not modify the files generated by this command, as they get overwritten every time you run match.
The files need to be placed in the following folders.
./certs
This directory contains all your certificates with their private keys
profiles
This directory contains all the provisioning profiles
Install fastlane using
or alternatively using brew install fastlane
Navigate to your project folder and run
Set the following values in the ../packaging.config file.
Go to the list
Go to the list
Go to the list
Sign up for a . Note: Android and iOS apps can share the same Firebase account
To achieve this we are going to use .
Make sure you have the latest version of the command line tools installed:
For more information see the