首页 > 解决方案 > Cordova 构建 ios

问题描述

我试图和平地编译一个科尔多瓦项目,它抛出了一个错误

error: No profile for team '[TEAM_ID]' matching 'APP Development' found: Xcode couldn't find any provisioning profiles matching '[TEAM_ID]/APP Development'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'APP' from project 'APP')

我已经完成了从清理构建到所有事情的所有事情。当我在 Xcode 上运行该应用程序时,它运行流畅并且构建完美!也能够完美地部署到 TestFlight。仅当我通过终端运行时才会出现此问题sudo cordova build ios

我在哪里“拖放”文件?

如果有人解决了这个问题,请帮助我。我正在运行 Cordova ios 5.1.1。

标签: iosxcodecordovaprovisioning-profilecordova-ios

解决方案


Xcode说你需要设置

  1. 团队
  2. 配置文件。

    • 打开 Xcode
    • 点击你的项目
    • 选择目标点击你的项目
    • 在顶部栏选择(Siging&Capabilities)
    • 在 Siigng 部分,您需要选择团队和 p.profile。

推荐阅读