Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow passing cli args when running in the iOS Simulator (#5518)
* Allow passing command line arguments when running an app in the iOS Simulator 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 ``` * Add documentation for `IOS_SIMULATOR_RUN_ARGS` variable * Update docs/man_pages/project/testing/run-ios.md Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
- Loading branch information