Distribute Apple Pay app through enterprise account [closed]

我们两清 提交于 2019-12-03 06:50:54

I ended up with those two solutions:

  • When the need of Apple Pay is the highest, distribute with Apple Pay through App Store account with adhoc distribution profile.

  • When the need for Enterprise distribution is the highest, distribute through the Enterprise account with adhoc distribution profile, and with Apple Pay Stubs https://github.com/stripe/ApplePayStubs from Stripe.

I go from one to the other depending on a pre-processor macro.

I solved the issue by duplicating the target. I turned the Apple Pay capability off in my target used for enterprise and left it on for my App Store Distribution. I also defined a macro so that Apple Pay is disabled on our enterprise builds. This will not allow us to test Apple Pay with our beta testers but still allows us to distribute builds to whichever users we're targeting without build failures.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!