试图在Studio中运行一个合金应用程序。
iOS模拟器(iPad 9.2)已经启动,但是应用程序不会被安装和运行。控制台显示以下日志。
[ERROR] : Project failed to build after 4m 4s 404ms
[ERROR] : An error occurred running the iOS Simulator (ios-sim exit code 1)
2016-01-15T12:24:56.489Z | TRACE | titanium exited with exit code 1
2016-01-15T12:24:56.490Z | ERROR | Error: ti run exited with error code 1
at ChildProcess.<anonymous> (/Users/neo/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:66)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
2016-01-15T12:24:56.491Z | TRACE | Sending exit signal to titanium process: 2515 在其他团队成员机器上,相同的代码库似乎运行良好。
根据不同的帖子检查以下内容,但没有任何帮助:
- XCode v7.2
- appc v5.1.0
- Studio v4.4.0...
如何修复/调试此问题?
发布于 2016-01-16 10:50:23
不幸的是,iOS模拟器和它所拥有的CLI就像一个黑匣子。但是,您提到您使用的是一个相对较老的Titanium,它是在Xcode和iOS版本之前针对的。这可能是有关联的。您能否尝试使用最近的(5.1.2) SDK并确保它被选中(appc ti sdk select 5.1.2.GA)?
发布于 2016-01-15 13:24:07
在这种情况下,它帮助我删除模拟器并重新输入它。
设备可以在:硬件->设备->管理设备在模拟器菜单中删除。
https://stackoverflow.com/questions/34811320
复制相似问题