Deploying expo detached app on TestFlight using Fastlane

Hi, I’ve been stuck for a few days on this with my app. I am trying to deploy an expo detached app on TestFlight. But I see an error building the application - Command PhaseScriptExecution failed with a nonzero exit code. No such file or directory, open ‘/Users/<my_username>/Projects/<app_name>/ios/empty-project-template/Supporting/EXBuildConstants.json’.
Build command fails at Prepare Expo phase.

Prepare Expo script-

set -eo pipefail
pushd “{SRCROOT}/.." value="(cat ~/.expo/PATH)”
PATH="$PATH:$value" expo prepare-detached-build --platform ios

And Bundle Expo Assets script-

set -eo pipefail
if [ “$CONFIGURATION” == “Debug” ]; then
echo “Skipping asset bundling in debug mode.”
exit 0

pushd “{SRCROOT}/.." value="(cat ~/.expo/PATH)”
PATH="$PATH:$value" expo bundle-assets --platform ios --dest “$dest”


1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.