iPhone Store Kit “Cannot connect to iTunes Store”

前端 未结 26 2244
南旧
南旧 2020-11-27 13:09

I am working on adding In-App purchases to my app.

I am able to receive the productsRequest:didReceiveResponse method, and receive the array of products

26条回答
  •  迷失自我
    2020-11-27 14:04

    I had had the same problem, but I solved by the following mode:
    - I was using iPhone 5S emulator with iOS 8.4 (This is the most important. Apple Store connection is not working on iOS 11 emulator)
    - on emulator I turned on the following setting: Settings/Developer/Allow HTTP services (This is for internet connection)
    - temporarily I turned off Avast antivirus Web Shield (This is for internet connection too)

提交回复
热议问题