所以我已经将meteor ios平台添加到我的流星应用程序中。每次我尝试运行模拟器时都会出现此错误。
=> 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中打开,但它只会出现黑屏。
答案 0 :(得分:0)
我同样被困在闪屏上。我的解决方法是添加 - 生产 到命令行。