visual-studio-2015 - Visual Studio 2015 Cordova : Code Sign Error on Xcode 8 and iOS 10 Cordova Project

标签 visual-studio-2015 visual-studio-cordova taco

我使用 VS2015 开发 Cordova。
最近我更新Xcode并在构建ios时收到以下错误

Signing for "BlankCordovaApp10" requires a development team. Select a development team in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'



然后我看到了这个解决方案Code Sign Error on Xcode 8 and iOS 10 Cordova Project

但是按照其中的说明进行了以下3个步骤后,仍然出现相同的错误。
  • Cordova 平台删除 ios
  • Cordova 平台添加https://github.com/apache/cordova-ios.git
  • 更新 build.json 如下(修改我的团队 id 为 XXXX)
    enter image description here

  • 有人可以帮助阐明如何在 VS2015 Cordova 中应用它吗?

    一旦您在 Mac 中更新 Xcode 并在 VS2015 cordova 中构建 ios 应用程序,您就可以复制它。

    谢谢。

    最佳答案

    如果您使用 4.3.0 之前的 cordova-ios 版本,请查看此处:Cordova builds with Xcode 8
    我已经解决了上面链接中报告的钩子(Hook)(this one)。

    Development Team

    Cordova-iOS 3.4.0 allows specifying a developmentTeam in build.json, which will be used to populate the DEVELOPMENT_TEAM setting. You do not need the hook if you're using Cordova-iOS 4.3.0.

    If you're using an older version, I've written a hook that you can add to your project. Save that file in your hooks folder, and reference it in your config.xml:

     <platform name="ios">   
      <hook type="before_compile">
     <src="hooks/xcode8.js" /> </platform>
    

    关于visual-studio-2015 - Visual Studio 2015 Cordova : Code Sign Error on Xcode 8 and iOS 10 Cordova Project,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39727918/

    相关文章:

    c# - AutoMapper CS 文件在 Visual Studio 2015 中速度极慢

    cordova - 如何在 cordova 应用程序中添加自定义 cordova 插件

    cordova - 如何在 Visual Studio Cordova App 中制作 toast ?

    ios - 链接到外部 www 文件夹 - Apache Cordova 工具 (VS 2015)

    cordova - "Incremental java compilation is an incubating feature."每个cordova构建过程都需要很长时间

    xna - 如何在 Visual Studio 2015(预览版)中安装 XNA

    visual-studio-2015 - 'ConnectedServicesPackages' - Visual Studio 2015

    vb.net - 向上舍入到下一个 10 vb 的倍数

    ios - Visual Studio 2015 Cordova iOS 构建不使用 build.json 参数

    ios - Apache Cordova/Visual Studio 2015 工具无法在 IOS 模拟器中启动应用程序