【问题标题】:Remote Build problems using Visual Studio 2017. Error code 65使用 Visual Studio 2017 的远程构建问题。错误代码 65
【发布时间】:2017-08-05 05:18:50
【问题描述】:

我们的项目无法在新 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 上做的事情吗?任何帮助表示赞赏。

【问题讨论】:

  • 可能是因为你远程服务器上的xcode版本需要升级支持Cordova 6.3.1新的iOS平台。可以试试更新吗?

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


【解决方案1】:

因为 xcode 8 他们改变了部署策略,不确定它是否与模拟器有关,但在实际设备上我遇到了同样的问题。发生这种情况是因为配置文件设置不正确。 - https://dpogue.ca/articles/cordova-xcode8.html,你需要的只是配置 build.json 文件 我的文件是:

{
  "ios": {
    "debug": {
      "developmentTeam": "XXXXXXXXXX",
      "provisioningProfile": "ProfileName"
    },
    "release": {
      "codeSignIdentity": "XXXXXXXx",
      "developmentTeam": "XXXXX",
      "packageType": "ad-hoc",
      "provisioningProfile": "ProfileName"
    }
  }
}
  • 不管怎样,现在我得到了 72 错误, xcrun:错误:找不到实用程序“PackageApplication”,不是开发人员工具或在 PATH 中

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2018-01-29
  • 2023-04-08
  • 2017-08-17
  • 1970-01-01
  • 2018-05-18
  • 2022-08-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多