LoginSignup
0
1

More than 5 years have passed since last update.

macOS SierraにしたらcordovaでiOSにデプロイするとエラーになる

Last updated at Posted at 2016-09-22

具体的な症状

iPhoneの実機にインストールされるが、以下のようなエラーが出力され、アプリが起動しない。

(lldb)     run
Traceback (most recent call last):
  File "/tmp/6E404B4D-DAFC-4EF2-8EFF-06E51BCCDA7C/fruitstrap_5af0fd7f146e954c1a4e425e5218b7c1ba3cc65b.py", line 36, in run_command
    lldb.target.Launch(lldb.SBLaunchInfo(shlex.split(args[1] and args[1] or '')), error)
IndexError: list index out of range
(lldb)     safequit

Application has not been launched

Error: Error code 1 for command: ios-deploy with args: --justlaunch,--no-wifi,-d,-b,/Users/junichi/work/cordova/cmdtest/platforms/ios/build/device/CmdTest.app

対応策

どうやら、Xcodeが原因の模様。新しいios-deployを入れることで無事解決。

npm install -g ios-deploy

関連記事

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