没有关于团队的资料&#39; <team>&#39;用离子3运行iOS

时间:2017-11-21 09:59:35

标签: ios xcode cordova ionic-framework

我尝试使用推送通知构建离子3应用程序。但是当我运行这个命令时:

sudo ionic cordova run ios

我有这个错误:

Check dependencies
Code Signing Error: No profile for team '<TEAM>' matching '<APPPROFILE>' found:  Xcode couldn't find any provisioning profiles matching '<TEAM>/<APPPROFILE>'. 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.1'

但我可以毫无问题地在XCode中部署我的应用程序......

我已经像这样配置了我的xcode:

enter image description here

首先,我尝试使用&#34;自动管理签名&#34;但我有另一个错误。

我不明白我与此有什么关系:

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

我真的需要使用命令行部署我的项目,例如使用--prod构建。

有人有解决方案吗?

更新

我不明白为什么我的会员队伍中的我的团队会在Apple网站上发布详细信息,以及我的团队&#39;提起来,是不同的?

1 个答案:

答案 0 :(得分:0)

您可能想尝试在项目根目录的build.json文件中指定这些详细信息。然后使用--buildConfig运行您之前尝试过的命令。

ionic cordova run ios --buildConfig build.json