I have a Xcode Build Phase Run Script to add some extra settings on dev builds like so:
if [ "${CONFIGURATION}" != "Release" ]; then
echo "Copying Data"
echo "${PROJECT_DIR}/${PRODUCT_NAME}/Settings.bundle"
echo "To product"
echo "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app"
cp -r "${PROJECT_DIR}/${PRODUCT_NAME}/Settings.bundle" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app"
fi
When I compile/archive it locally, I see the output:
Copying Data
/......../mt-scheduler-ios/MyApp/App/Settings.bundle
To product
/....../Xcode/DerivedData/App-dwgayfmddwkoatgfcxhmxthgkbga/Build/Intermediates.noindex/ArchiveIntermediates/Production/BuildProductsPath/Production-iphoneos/App.app
Is there something that could cause to ignore the Run Script phase or maybe some of those variables, like: ${PROJECT_DIR} or ${BUILT_PRODUCTS_DIR} don’t exists on Bitrise environment?
Hi there! The build URL would begin with app.bitrise.io/build/ and would also contain your app’s build slug which is an alphanumeric string. The URL would point to the page where you normally view your build log. Could you send me that URL please?