简体   繁体   English

fastlane match 生成启用推送通知的新证书

[英]fastlane match generate new certificate with push notifications enabled

I'm a bit confused on how I'm supposed to add push notification capabilities to an app where I have generated provisioning profiles/certs using fastlane match我对如何将推送通知功能添加到使用fastlane match生成配置文件/证书的应用程序有点困惑

I'm trying to run my device in development after enabling and setting up push notifications but keep seeing the error that the capabilities are not supported by the development provisioning profile that match generated for me在启用和设置推送通知后,我尝试在开发中运行我的设备,但一直看到为我生成的match的开发配置文件不支持这些功能的错误

I have tried a number of times to nuke the development cert and generating a new one but it continues to create a certification without push notification capabilities enabled我已经尝试了很多次来核对开发证书并生成一个新证书,但它继续创建一个没有启用推送通知功能的证书

What is the process I am supposed to go through to add push notifications and generate a new provisioning profile/certificate with push notification capabilities?我应该通过 go 添加推送通知并生成具有推送通知功能的新配置文件/证书的过程是什么?

I had the same issue!我遇到过同样的问题!

You need to also add the capability to the app identifier via the apple developer portal .需要通过苹果开发者门户将该功能添加到应用标识符中。 Once the capability is added to your app's identifier, match will generate provisioning profiles with the correct capabilities.将功能添加到您的应用程序标识符后, match将生成具有正确功能的配置文件。

From Apple's docs :来自Apple 的文档

Important重要的

In your developer account, also enable the push notification service for the App ID assigned to your project.在您的开发者帐户中,还为分配给您的项目的 App ID 启用推送通知服务。 For more information about configuring your developer account, go to your Developer Account page.有关配置您的开发者帐户的更多信息,go 到您的开发者帐户页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM