LoginSignup
8
9

More than 5 years have passed since last update.

コマンドラインでiosシュミレーターを立ち上げてsafariでローカルホストを開く

Last updated at Posted at 2016-01-22

必要な環境

xcode 6以降

iosシュミレータのデバイス確認

$ instruments -s devices

シュミレータを立ち上げる

xcrun instruments -w 'iPhone 5s'

safariでローカルホストを開く

$ xcrun simctl openurl booted "http://localhost:3000"

おまけ

xcodeのバーションを確認

$ xcodebuild -version
Xcode 7.2
Build version 7C68
8
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
9