尝试在设备

时间:2015-07-28 19:45:41

标签: ios xcode cordova provisioning-profile visual-studio-cordova

我几个星期以来一直在努力解决这个问题,而且我不知道可能是什么原因导致问题。

我正在尝试使用Visual Studio 2015通过“远程构建”构建一个Apache Cordova应用程序。 Mac上的工具。 我已将Visual Studio配置为与主机Mac通信,并通过模拟器部署应用程序正常,因此我知道这不是通信问题。当我尝试在设备上构建解决方案时,我会收到这些错误

enter image description here

我已经完成并创建了开发证书,App ID,配对了我的设备,并创建了2个配置文件,以尝试匹配应用程序正在查找的软件包ID,如错误消息中所示。所以没有混淆的余地我也会包含这些项目的截图

证书

enter image description here

应用ID&#39>

enter image description here

设备

enter image description here

供应配置文件

enter image description here

我也相信我已经在我的钥匙串和xCode中配置了它们,如下所示

钥匙扣

enter image description here

xCode偏好设置

enter image description here

enter image description here

当我打开" Jackie Plain"没有可用的数据或配置文件,但我不相信这是问题,因为它们是根据公司许可证提供的。

当我尝试使用“远程构建”中内置的工具进行测试构建时,我运行了命令

remotebuild test --device

这是尝试构建的结果。

Warning: No server modules selected. Defaulting to configuration "modules": {"taco-remote": { "mountPath": "cordova"} }
1...
2...
1...
Error: taco-remote test failed.
[Error: Build Failed: {"vcordova":"4.3.0","vcli":"1.0.0","cfg":"debug","command":"build","options":"--device","status":"Error","buildCommand":"build","buildPlatform":"ios","configuration":"debug","buildDir":"/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777","buildNumber":3777,"logLevel":-1,"submissionTime":"2015-07-28T19:31:07.204Z","changeList":null,"buildSuccessful":false,"messageId":"BuildFailedWithError","messageArgs":["/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2"],"message":"Build failed with error /Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2","tgzFilePath":"/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/upload_3777.tgz","appDir":"/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/cordovaApp","statusTime":"2015-07-28T19:31:09.936Z","appName":"HelloCordova"}]
/usr/local/lib/node_modules/remotebuild/node_modules/q/q.js:126
                    throw e;
                          ^
Error: Build Failed: {"vcordova":"4.3.0","vcli":"1.0.0","cfg":"debug","command":"build","options":"--device","status":"Error","buildCommand":"build","buildPlatform":"ios","configuration":"debug","buildDir":"/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777","buildNumber":3777,"logLevel":-1,"submissionTime":"2015-07-28T19:31:07.204Z","changeList":null,"buildSuccessful":false,"messageId":"BuildFailedWithError","messageArgs":["/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2"],"message":"Build failed with error /Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2","tgzFilePath":"/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/upload_3777.tgz","appDir":"/Users/TheHuxs/.taco_home/remote-builds/taco-remote/builds/3777/cordovaApp","statusTime":"2015-07-28T19:31:09.936Z","appName":"HelloCordova"}
    at Request._callback (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/lib/selftest.js:86:45)
    at Request.self.callback (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/node_modules/request/request.js:121:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/node_modules/request/request.js:985:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/node_modules/request/request.js:936:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)

错误必须来自&#39; remotebuild&#39;之间的某种通信错误。代理和应用程序的正确配置文件。我不知道它是错误的捆绑包ID,Apple Developer数据的设置是否错误,或者我的远程建设是否存在问题。工具。

有关如何修复此错误或使用的正确应用程序ID的任何建议将不胜感激。

0 个答案:

没有答案