Build iOS App

I. Create a P12 file

We recommend following this excellent guide on making a p12 fileNote:: this guide recommends leaving the p12’s password blank, but a p12 password is required to upload your own certificate to Expo’s service. Please enter a password when prompted.

II. Create Push Notification Certificate

To generate a .p8 key file, go to Apple developer account page , then select Certificates, IDs & Profiles.

Next, select Keys.

Click the “+” button to add a new key.

In the new key page, type in your key name and check the Apple Push Notification service (APNs) box , then click “Continue” and click “Register’.

Then proceed to download the key file by clicking Download

III. Create a Distribution Provisioning Profile for iOS

We recommend following this guide to know how to generate a Distribution Provisioning Profile file.

If you build the iOS app and submit again with the Apple Login functions, please run this commands:

expo build:ios –clear-provisioning-profile –revoke-credentials

To generate the new mobile provisioning profiles, to recreate a new provisioning profile with updated capabilities Apple Login inside

IV. Create bundleIdentifier

Open wilcity-app -> app.json -> Replace yourapplebundleid with your bundleIdentifier

"ios": {
      "buildNumber": "1",
      "supportsTablet": true,
      "infoPlist": {
        "NSLocationAlwaysUsageDescription": "This app uses the location to show listings nearby you."
      },
      "bundleIdentifier": "yourapplebundleid"
},

V. Build iOS app

Expo required these file to build the ios App:

  • Apple Distribution Certificate P12 file ( step I )
  • Apple Push key file ( the p8 file, get from step II )
  • Apple Provisioning Profile – you don’t need to create it, let Expo handle the provisioning profile.

Warning: If you installed Yarn instead of NPM, please run yarn install to setup node modules for the app

VI. Install Xcode

Next, please go to the App Store and then install Xcode.

VII. Submit your App to App Store

  1. Now log into https://appstoreconnect.apple.com/ => My Apps => Select your App
  2. Complete all required settings in App Information area. App Description: You should description about your app purpose only.
  3. Finally, Using Application Loader to upload your App to the App Store.
Tagged:

Leave A Comment?