
Sed -i 's/productName: redacted: redacted/g' $WORKSPACE/client/ProjectSettings/ProjectSettings.asset Sed -i 's/overrideDefaultApplicationIdentifier: 0/overrideDefaultApplicationIdentifier: 1/g' $WORKSPACE/client/ProjectSettings/ProjectSettings.asset Sed -i 's/iPhone: redacted/iPhone: hredacted/g' $WORKSPACE/client/ProjectSettings/ProjectSettings.asset Sed -i 's/Android: redacted/Android: redacted/g' $WORKSPACE/client/ProjectSettings/ProjectSettings.asset Mv $WORKSPACE/client/Assets/ist_prod $WORKSPACE/client/Assets/ist Mv $WORKSPACE/client/Assets/google-services.json_prod $WORKSPACE/client/Assets/google-service.json
#Unity cloud build set a define android
It seems to be working fine for the android build, but it's erroring for the ios build.


I'm using the $WORKSPACE environment variable to achieve some basic file manipulation using bash. Its goal is to replace the bundle id and firebase config files for the production values. I'm trying to create a shell script that runs only on the prod versions of the cloud build targets.
