如何在 Fastfile 中使用 fastlane 的 "produce" 来启用推送通知?

How to use fastlane's "produce" in Fastfile to enable push notifications?

我想添加启用推送通知的 Fastfile 操作。在 CLI 中,我会 运行 produce enable_services -a com.example.app --push-notification。我如何在 Fastfile 中执行此操作?

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

现在可以通过 modify_services 操作。