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


必要な環境

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