diff --git a/README.md b/README.md index 1638ef01..3f1334b5 100644 --- a/README.md +++ b/README.md @@ -253,11 +253,9 @@ Then edit the newly created scheme to make it use a different env file. From the - Click "Pre-actions", and under the plus sign select "New Run Script Action" - Where it says "Type a script or drag a script file", type: ``` - echo ".env.staging" > /tmp/envfile # replace .env.staging for your file + cp ${PROJECT_DIR}/../.env.staging .env # replace .env.staging for your file ``` -This is still a bit experimental and dirty – let us know if you have a better idea on how to make iOS use different configurations opening a pull request or issue! - ## Troubleshooting ### Problems with Proguard