LoginSignup
2
1

More than 5 years have passed since last update.

Appium StudioがXcode9でSimulator選べない問題について

Last updated at Posted at 2017-12-03

Appium Studioのバージョン 11.2.41
Xcode9.1

iOSシミュレータを登録しようとしてもがiPhone5sしか表示されない

どうやらXcode9だとうまくシミュレータが取れず「iPhone 5s iOS 11.1」しか表示されず、
またこのまま先に進むことができません。 ※Xcode8であれば正常に動作します

Kobito.zidmbD.png

なぜXcode9で動かないのか?

気になったのでAppiumStudioのディレクトリを眺めているとfbsimctl.zipを見つけました。

Kobito.8V4exV.png

fbsimctlはiOS Simulatorの管理ツールであるFBSimulatorControl(https://github.com/facebook/FBSimulatorControl) のCLI版です、Xcodeをインストールすると使えるsimctlの強化版だと思ってくれればいいと思います。

しかしFBSimulatorControlは残念ながら開発が止まっているようで、
CLIで実行してもシミュレータの一覧は取れない状態となっています。

// 実行結果
$ fbsimctl list
Error Domain=com.facebook.FBControlCore Code=0 "Attempting to load a file at path '/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework', but it does not exist" UserInfo={NSLocalizedDescription=Attempting to load a file at path '/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework', but it does not exist}

iOS Simulatorを使用したい場合、今後fbsimctlではなくsimctlを使うなどのアップデートがあれば使えるようになるのではないかと思います。

おまけ

それでもiOS Simulatorを使いたい場合はXcode8をインストールし、xcode-select -sなどで切り替えて古い環境で動作させる事は可能なのでお試しください。

以上、小ネタでした🙏🏼

2
1
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
2
1