Cannot test in-app purchases in Xcode 9 for macOS app

浪尽此生 提交于 2019-12-02 08:47:59

So here is what I did that kind of does the same as with the iOS workaround:

  1. In the App Store app Sign Out of your account (Store/Sign Out)
  2. In iTunes Connect create a brand new Tester
  3. Restart your computer
  4. Open your Xcode project
  5. Build & run
  6. Click on your Buy button to start a purchase
  7. Sign in with your newly created test account

  8. When prompted to Change the store click on Cancel

  9. Click on your Buy button to start a purchase again and the correct Buy Alert will pop up; finish the transaction by actually making the purchase

Done! Hours of frustration saved! Thanks Apple :[

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