
** BUILD SUCCEEDED **No target specifIEd for emulator. deploying to iPhone-6 simulatorAn error was encountered processing the command (code=146):InvalID device stateAn error was encountered processing the command (code=146):Exception encountered connecting to CoreSimulatorBrIDge: Unable to connect to CoreSimulatorBrIDgeENOENT,no such file or directory '/Users/yay/library/Logs/CoreSimulator/2CAA2C39-7F22-4AF2-BBDE-86609188F37C/system.log'Error code 1 for command: ios-sim with args: launch,/Users/yay/code/myApp/platforms/ios/build/emulator/myApp.app,--devicetypeID,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/yay/code/myApp/platforms/ios/cordova/console.log,--stdout,--exitError: /Users/yay/code/myApp/platforms/ios/cordova/run: Command Failed with exit code 2 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.Js:134:23) at ChildProcess.emit (events.Js:110:17) at maybeClose (child_process.Js:1015:16) at Process.ChildProcess._handle.onexit (child_process.Js:1087:5)@H_419_4@解决方法 问题是因为您使用sudo来创建和/或构建项目.
只需输入这些命令(当然没有$):
1)用sudo删除
$sudo ionic platform remove ios
2)在没有sudo的情况下添加iOS
$ionic platform add ios
3)运行iOS模拟器
$ionic emulate ios
资料来源:https://github.com/driftyco/ionic/issues/4052(rajkotecha的评论)
@H_419_4@ @H_419_4@ @H_419_4@ @H_419_4@ 总结以上是内存溢出为你收集整理的离子框架 – 离子模拟Ios无法运行会话无法打开我的应用程序全部内容,希望文章能够帮你解决离子框架 – 离子模拟Ios无法运行会话无法打开我的应用程序所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)