-
Notifications
You must be signed in to change notification settings - Fork 1.3k
make clean shouldn't delete Xcode workspaces #2493
Comments
I think this was intentional because finding the hidden |
iosapp should prompt for an access token at launch if it's absent from the environment and user defaults, just like osxapp does. |
Filed #4696 for prompting for an access token. |
As of #4641, ios.xcworkspace is checked in, so you can set the |
We’ll have to be careful to not check in access tokens: diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme
index 064add0..802daeb 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/iosapp.xcscheme
@@ -61,6 +61,13 @@
ReferencedContainer = "container:ios.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
+ <EnvironmentVariables>
+ <EnvironmentVariable
+ key = "MAPBOX_ACCESS_TOKEN"
+ value = “pk.dodododoodbobodbdobdodboiebdoobiedoobiedo.blahbalh"
+ isEnabled = "YES">
+ </EnvironmentVariable>
+ </EnvironmentVariables>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction> |
We can probably change |
Should we not mark the |
I fixed this at one point but it seems to have regressed. Having
make clean
delete Xcode workspaces is annoying because it means your schemes get blown away, which includes theMAPBOX_ACCESS_TOKEN
environment variable.The text was updated successfully, but these errors were encountered: