Skip to content

Local builds

Brian Sharon edited this page Oct 6, 2023 · 3 revisions

Notes to myself on how to build locally and run the build on the simulator. Beats waiting for cloud builds.

  1. Run npx eas build --non-interactive --platform ios --profile simulator --local. You will need to install Xcode if you haven't already. Same for CocoaPods.
  2. The build step produces a tarball, unzip it to get NWAC.app
  3. Drag NWAC.app into the simulator

Now, running a local build on an actual device. Much more of a pain in the ass. Links:

  1. You'll need an Apple ID tied to the NWAC org
  2. You'll need to install Xcode and CocoaPods
  3. Add your device to the ad-hoc provisioning profile (eas device:create). Optionally give it a better name (eas device:rename).
  4. Run the build: npx eas build --platform ios --profile adhoc --local. Don't use --non-interactive, it'll prompt you to do various things.
  5. Build should output an IPA, you can install it on a connected device via Xcode (Window -> Devices).
Clone this wiki locally