科尔多瓦建立ios团队资料错误 [英] cordova build ios Error with team profile

查看:76
本文介绍了科尔多瓦建立ios团队资料错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用cordova cli构建一个ipa文件:

I am trying to build an ipa file with cordova cli:

sudo cordova build ios --device --release

我在build.json之前构建:

{
  "ios": {
    "debug": {
      "codeSignIdentity": "iPhone Developer",
      "developmentTeam": "----XZ",
      "packageType": "development",
      "buildFlag": [
        "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
        "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
        "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
      ]
    },
    "release": {
      "codeSignIdentity": "iPhone Distribution",
      "developmentTeam": "----XZ",
      "packageType": "app-store",
      "buildFlag": [
        "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
        "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
        "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
      ]
    }
  }
}

我收到错误消息:

Check dependencies
Code Signing Error: No profile for team '----XZ' matching 'App Distribution' found:  Xcode couldn't find any provisioning profiles matching '----XZ/App Distribution'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the General tab of the target editor.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0'

我打开了Xcode(第一次使用PhpStorm),标志区域如下所示:

I opened the Xcode(in the first time, i'm working with PhpStorm) and the sign area looks like that:

我重新创建了所有证书,但仍然出现错误.... 请帮助:(谢谢!

I've re-created all the certificates and still get an error.... Help please :( Thanks!

推荐答案

可能您已经找到了答案.这是窍门:

Probably you've already found the answer. Here is the trick:

​​为什么"ionic运行" ios错误,并显示找不到匹配的配置文件"?.您需要将配置文件从~/Library/MobileDevice/Provisioning\ Profiles/复制到/Library/MobileDevice/Provisioning\ Profiles/

Why does `ionic run ios` error with "No matching provisioning profile found"?. You need to copy your the provisioning profiles from ~/Library/MobileDevice/Provisioning\ Profiles/ to /Library/MobileDevice/Provisioning\ Profiles/

这篇关于科尔多瓦建立ios团队资料错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆