Search code examples
react-nativeexpoeas

How do I change the output path for local EAS builds in Expo?


How can i change the path of EAS local builds?

Currently when i run a local EAS build, the build output is in the project root. I would like to define a custom path for the build output.

I have tried reading through the docs and the most promising is https://docs.expo.dev/build-reference/eas-json/. But it is still not 100% clear to me.


Solution

  • You can achieve this by using the --output flag.

    Example - eas build -p ios --local --profile production --output "<CUSTOM_DIRECTORY>/<ipa|aab>"