使用Visual Studio 2017进行远程构建问题。错误代码65

时间:2017-03-14 17:59:22

标签: ios cordova ios-simulator visual-studio-2017

我们的项目无法在新的Visual Studio中的iOS模拟器上运行。这是我得到的以下错误:

Severity    Code    Description Project File    Line    Suppression State
Error       Remote build error from the build server http://<MY_IP>:3000/cordova - Build failed with error Error code 65 for command: xcodebuild with args: -xcconfig,/Users/developer/.taco_home/remote-builds/taco-remote/builds/46767/cordovaApp/platforms/ios/cordova/build-release.xcconfig,-workspace,Announce.xcworkspace,-scheme,Announce,-configuration,Release,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 5s,build,CONFIGURATION_BUILD_DIR=/Users/developer/.taco_home/remote-builds/taco-remote/builds/46767/cordovaApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/developer/.taco_home/remote-builds/taco-remote/builds/46767/cordovaApp/platforms/ios/build/sharedpch   ApbClient       1   

这可能与Cordova版本有关。在新的VS2017上,默认的Cordova版本是6.3.1或Global Cordova 6.5.0。在VS2015上,我们使用了Cordova 5.4.1。

有关导致此错误的原因的任何想法?我在旧的StackOverflow问题中尝试过一堆建议,但似乎都没有。它在2015年运作良好,我们有开发团队,一切都已建立。可能是我需要在xCode上做的事情吗?任何帮助表示赞赏。

1 个答案:

答案 0 :(得分:0)

从xcode 8开始,他们改变了部署策略,不确定它是否与模拟器相关,但是对于实际的设备,我遇到了同样的问题。这是因为配置文件未正确设置。 - https://dpogue.ca/articles/cordova-xcode8.html,您需要的是配置build.json文件 我的档案是:

 <track>
        <name>HUMBLE.</name>
        <duration>0</duration>
        <playcount>1063735</playcount>
        <listeners>136852</listeners>
        <mbid></mbid>
        <url>https://www.last.fm/music/Kendrick+Lamar/_/HUMBLE.</url>
        <streamable fulltrack="0">0</streamable>
        <artist>
            <name>Kendrick Lamar</name>
            <mbid>381086ea-f511-4aba-bdf9-71c753dc5077</mbid>
            <url>https://www.last.fm/music/Kendrick+Lamar</url>
        </artist>
        <image size="small">https://lastfm-img2.akamaized.net/i/u/34s/a4a35fcdf62b8a532039012653eeea14.png</image>
        <image size="medium">https://lastfm-img2.akamaized.net/i/u/64s/a4a35fcdf62b8a532039012653eeea14.png</image>
        <image size="large">https://lastfm-img2.akamaized.net/i/u/174s/a4a35fcdf62b8a532039012653eeea14.png</image>
        <image size="extralarge">https://lastfm-img2.akamaized.net/i/u/300x300/a4a35fcdf62b8a532039012653eeea14.png</image>
 </track>
  • 无论如何我现在得到72错误, xcrun:错误:无法找到实用程序&#34; PackageApplication&#34;,而不是开发人员工具或PATH
相关问题