用于Meteorjs的Cordova IOS模拟器失败



所以我已经将meteor ios平台添加到我的meteor应用程序中。每次我尝试运行模拟器,我得到这个错误。

=> App running at: http://localhost:3000/     
=> Errors executing Cordova commands:         
While running Cordova app for platform iOS with options --emulator:
Error: Command failed:                     
/Users/Cpena1/Documents/testingMeteor/.meteor/local/cordova-build/platforms/ios/cordova/run
--emulator
ENOENT, no such file or directory
'/Users/Cpena1/Library/Logs/CoreSimulator/1FB66CCA-7E03-408A-B240-A2D4098B356D/system.log'
Error code 1 for command: ios-sim with args:
launch,/Users/Cpena1/Documents/testingMeteor/.meteor/local/cordova-build/platforms/ios/build/emulator/testingMeteor.app,--  devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/Cpena1/Documents/testingMeteor/.meteor/local/cordova-build/platforms/ios/cordova/console.log,--stdout,/Users/Cpena1/Documents/testingMeteor/.meteor/local/cordova-build/platforms/ios/cordova/console.log,--exit
at ChildProcess.exitCallback (/tools/utils/processes.js:137:23)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:820:12)
ExitWithCode:1

我试过删除Cordova文件,甚至重新安装Meteor。模拟器将在Xcode中打开,但它只会出现一个黑屏。

我同样在启动屏幕上卡住了。我的解决方法是添加——生产到命令行

最新更新