简体   繁体   English

如何在Fastfile中使用fastlane的“生产”来启用推送通知?

[英]How to use fastlane's “produce” in Fastfile to enable push notifications?

I'd like to add to Fastfile action that enables push notifications. 我想添加到Fastfile动作中,以启用推送通知。 In CLI I would run produce enable_services -a com.example.app --push-notification . 在CLI中,我将运行produce enable_services -a com.example.app --push-notification How do I do that in a Fastfile? 如何在Fastfile中做到这一点?

根据https://github.com/fastlane/produce/issues/81#issuecomment-148947513 ,目前的唯一方法是sh "produce enable_services --healthkit"

现在可以通过Modify_services操作。

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

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