Deploy beta to TestFlight using env.staging #299
-
I want to deploy a Beta version to TestFlight using the env variables in
If I run Going to Xcode and doing the process to deploy to TestFlight, i.e. Product > Archive > and so on, it always builds with the .env file. Is there a way to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Just complementing my question above, I understand that Release == production and Debug == development, so I'm assuming that's no way to build in Xcode using |
Beta Was this translation helpful? Give feedback.
-
there's a couple options. The option I recommend is using schemes (https://shockoe.com/ideas/development/how-to-setup-configurations-and-schemes-in-xcode/). Basically you can specify your NODE_ENV in your build process. If that doesn't work for whatever reason, you can do the same thing but add APP_ENV (there's some docs on this in teh readme) |
Beta Was this translation helpful? Give feedback.
-
@felipepalazzo how did you solve your problem? I've been trying it but with no success. |
Beta Was this translation helpful? Give feedback.
there's a couple options. The option I recommend is using schemes (https://shockoe.com/ideas/development/how-to-setup-configurations-and-schemes-in-xcode/). Basically you can specify your NODE_ENV in your build process.
If that doesn't work for whatever reason, you can do the same thing but add APP_ENV (there's some docs on this in teh readme)