iOS Bug --- 信鸽推送报错:Code Signing Error: No profile for team '299MFJ63GP' matching 'common_dev' ......

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jiaxin_1105/article/details/82621962

最近在接信鸽推送SDK,官方Demo运行直接崩溃。。。

报错信息:

Code Signing Error: No profile for team '299MFJ63GP' matching 'common_dev' found:  Xcode couldn't find any provisioning profiles matching '299MFJ63GP/common_dev'. 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 'App Extension' in SDK 'iOS 11.4'

报错分析:

出现此错误通常由于Bundle Identifier未设置正确 。

如果是直接从网上下载的工程,首先检查工程TARGETS下的Bundle Identifier是否已设置。如果是sdk的demo工程,Bundle Identifier通常是空白,需要手动填写。然后在下面Signing的team中选择开发者账号。同时,在TARGETS下相应地Test工程中也要做相同的设置。

针对上面就是TARGETS下面的,XGService、XGContent、XG-Demo这3个的Bundle Identifier设置出错。

解决方法:

1,把XGService、XGContent、XG-Demo这3个的Bundle Identifier设置成自己公司的Bundle Identifier,Signing下面的Team也设置成自己公司的开发者账号

2,把XGService、XGContent、XG-Demo这3个

TARGETS --> XGService --> Build Setting --> 搜索code sign找到Signing-->Code Signing Identity 由下图

改为

XGContent、XG-Demo按照上面步骤依次改好,运行Demo 就OK了。。。

猜你喜欢

转载自blog.csdn.net/jiaxin_1105/article/details/82621962
今日推荐