我在Visual Studio 2015中使用了新的Cordova工具.mac构建服务器正在运行remotebuild代理。我可以使用模拟器或成功部署到iPhone 5设备。
当我尝试部署到iPhone 6 Plus设备时,remotebuild代理程序崩溃并显示此堆栈跟踪:
GET /cordova/build/17124/deploy 404 5053.994 ms - 52
****** Server will shutdown due to uncaught error ******
[Error: Can't set headers after they are sent.]
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:335:11)
at ServerResponse.header (/usr/local/lib/node_modules/remotebuild/node_modules/express/lib/response.js:700:10)
at ServerResponse.send (/usr/local/lib/node_modules/remotebuild/node_modules/express/lib/response.js:154:12)
at ServerResponse.json (/usr/local/lib/node_modules/remotebuild/node_modules/express/lib/response.js:240:15)
at ChildProcess.<anonymous> (/Users/elliot/.taco_home/node_modules/taco-remote-lib/1.0.0/node_modules/taco-remote-lib/ios/ios.js:172:33)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
****** Performing server shutdown procedures.
我确定配置文件设置正确。
是否还有其他人遇到此问题并找到了解决方法?
答案 0 :(得分:0)
If you look closely at your VS output you will see a message along the lines of “application verification failed”, complaining about their provisioning profile. Are you sure that you have the correct provisioning profile installed on your iPhone 6 plus?
Thanks for reporting the crash on the server side. There might be issue on our side where we might accidentally try to respond twice to the same request, which is an error and produces the crash of the server.