Deploying expo detached app on TestFlight using Fastlane

#1

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
popd

And Bundle Expo Assets script-

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

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

Thanks!

1 Like
closed #2

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