-
-
Notifications
You must be signed in to change notification settings - Fork 197
feat: allow passing command line arguments running an app in the iOS Simulator #5518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…imulator The `IOS_SIMULATOR_RUN_ARGS` environment variable allows specific command line arguments to be passed to the simulator when running an app. This is _extremely_ useful when working (for example) with Firebase and having to debug events or other internals: https://firebase.google.com/docs/analytics/debugview The command line arguments `-FIRDebugEnabled` and `-FIRDebugDisabled` control the behavior of Firebase in combination with its realtime event debugging console. With this patch, enabling debugging is as easy as calling: ```bash IOS_SIMULATOR_RUN_ARGS=-FIRDebugEnabled ns run ios ```
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. |
Hey @pfumagalli thanks for the PR, lgtm - we recently had to change our CLA and need you to fill it out again, sorry for the inconvenience - but since this was submitted with the old CLA, I'll go ahead and merge it. |
The
IOS_SIMULATOR_RUN_ARGS
environment variable allows specific command line arguments to be passed to the simulator when running an app.This is extremely useful when working (for example) with Firebase and having to debug events or other internals:
https://firebase.google.com/docs/analytics/debugview
The command line arguments
-FIRDebugEnabled
and-FIRDebugDisabled
control the behaviour of Firebase in combination with its realtime event debugging console.With this patch, enabling debugging is as easy as calling: