MobileNativeFoundation/set-simulator-location
关于
用于设置 iOS 模拟器位置的 CLI。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文set-simulator-location
NOTE: As of Xcode 14 you can use xcrun simctl location to do most of
this instead, including setting specific routes. Use that if possible
(it does not currently support searching for locations).
This is a simple CLI for easily setting the location of the currently running iOS Simulator.
Usage
Set a specific latitude and longitude:
$ set-simulator-location -c 37.7765 -122.3918
Or using place search:
$ set-simulator-location -q Lyft HQ San Francisco
By default the location is set on all booted simulators. If you'd like
to change it for only one of the booted simulators you can pass -s
followed by the simulator's display name:
$ set-simulator-location -q Lyft HQ San Francisco -s iPhone X
NOTE: If you have multiple booted simulators with the same name, the location will be set on all of them.
Installation
With homebrew:
$ brew install lyft/formulae/set-simulator-location
With Mint:
$ mint install lyft/set-simulator-location
With a precompiled release:
- Download the latest release from here
- Install it some place in your
$PATH
Manually:
$ make install
I have submitted a Radar to have
this behavior added to simctl.
Development
To work on set-simulator-location you can make your changes and run
make to build from the command line. If you'd prefer to work in Xcode
you can run make xcode to generate a project using SwiftPM.
探索相关项目
加载中…