react-nativeexpoeas

How to run expo eas custom builds on ios device for development


I am using expo but with eas custom builds to support some native code integration and I would like to test and develop on my ios device but couldn't find a way to install development builds to my device.

I am creating a local build with

eas build -p ios --profile development --local

then it puts out a tar.gz file and then by exporting this file, I can drag and drop it on a simulator window to install.

However how could I use it to develop on my ios device?

I have tried building it through remote eas with

eas build --profile development --platform ios

but it does the same thing (as expected) without creating a QR code or link to be able to install on my device.

I have checked every documentation and now I honestly started to think that it may not be possible to test and develop eas custom builds on ios devices.

any help is much appreciated.


Solution

  • I had this same problem, I quickly exceed the 30 monthly free builds. What I do is running the build locally on my mac exactly as you mentioned:

    eas build -p ios --profile development --local

    That will generate a .ipa file.

    Then it's all about getting it running on your phone. There are two quick techniques I will highlight:

    Via Xcode:

    1. Open Xcode -> Window -> Devices and Simulators
    2. It will open the Devices and Simulators window. Select the Devices section and select the device from the left pane.
    3. Drag and drop the app/IPA on to the 'INSTALLED APPS' section.
    4. Wait for Xcode to finish the installation.

    Upload IPA to some server and download it on your iphone:

    Pick one of the app installation services:

    Upload the IPA, it will generate an url or QR code. Access it from the iphone and install it.