Reading time: 2 minutes
I’m going to show you how to generate a development build for iOS using EAS.
First, we need to generate the project as indicated in this tutorial: How to create a development build using Expo EAS with React Native
Now, when you reach the step of executing:
eas build --profile development --platform ios
- The following message will appear:
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
You can indicate Yes if it’s the first time you generate the app, as it will need the account to register the app’s ID. Although in the next step, it will ask for the APPLE account.
2. Now it asks if we want to reuse the certificate or generate a new one. We indicate Yes.
3. Now it asks us to create a test device. It will generate a QR code that downloads a development test group profile for installation on our device. Once downloaded, we need to go to Settings, select the notification that appears, and tap Join the Test Group.
4. Now, if it’s the first time we register the app, it will ask for all the necessary fields to register it in the APPLE STORE:
- First, it asks if we want to use the certificate from our developer account, we indicate yes.
- Would you like to set up Push Notifications for your project? › Yes (if we want or plan to use Push Notifications).
- Now it asks for the developer ID, if it’s correct, we indicate Yes.
- Currently valid on Apple’s servers. › Yes.
5. Now it starts generating the build. If everything went well, a QR code will appear.
- Scan the QR code with the iPhone registered in the test account.
- Now it will ask you to activate the iPhone in developer mode:
- First, you have to go to Settings>Privacy/Security>Developer Mode (Yes).
- Now the iPhone restarts.
- Once restarted, it will ask for confirmation to activate developer mode, we indicate yes and enter the code of our device.
6. Once the process is completed, to run the project from React, we need to enter the following command:
npx expo start --dev-client
And now you can run builds with native features on the dev build.
Reading time: 2 minutes
I’m going to show you how to generate a development build for iOS using EAS.
First, we need to generate the project as indicated in this tutorial: How to create a development build using Expo EAS with React Native
Now, when you reach the step of executing:
eas build --profile development --platform ios
- The following message will appear:
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
You can indicate Yes if it’s the first time you generate the app, as it will need the account to register the app’s ID. Although in the next step, it will ask for the APPLE account.
2. Now it asks if we want to reuse the certificate or generate a new one. We indicate Yes.
3. Now it asks us to create a test device. It will generate a QR code that downloads a development test group profile for installation on our device. Once downloaded, we need to go to Settings, select the notification that appears, and tap Join the Test Group.
4. Now, if it’s the first time we register the app, it will ask for all the necessary fields to register it in the APPLE STORE:
- First, it asks if we want to use the certificate from our developer account, we indicate yes.
- Would you like to set up Push Notifications for your project? › Yes (if we want or plan to use Push Notifications).
- Now it asks for the developer ID, if it’s correct, we indicate Yes.
- Currently valid on Apple’s servers. › Yes.
5. Now it starts generating the build. If everything went well, a QR code will appear.
- Scan the QR code with the iPhone registered in the test account.
- Now it will ask you to activate the iPhone in developer mode:
- First, you have to go to Settings>Privacy/Security>Developer Mode (Yes).
- Now the iPhone restarts.
- Once restarted, it will ask for confirmation to activate developer mode, we indicate yes and enter the code of our device.
6. Once the process is completed, to run the project from React, we need to enter the following command:
npx expo start --dev-client
And now you can run builds with native features on the dev build.