Logout from AppStore on iOS Simulator

前端 未结 5 1669
刺人心
刺人心 2020-12-13 06:15

Since 5.0, iOS simulator has StoreKit support so you can debug your In-App purchases without device. But, it has one issue. Once logged in (make In-App purchase) I can\'t ch

5条回答
  •  悲&欢浪女
    2020-12-13 06:34

    There is another way to log out from that sandbox account without "Reset Content & Settings" . Just remove the files from the following path in your home directory :

    ~/Library/Application\ Support/iPhone\ Simulator/5.0/Library/com.apple.itunesstored 
    

    You may also need to restart the Simulator for the change to take effect.

    This just removes the stored information about iTunes from Simulator. So it doesn't delete any apps in the Simulator. It works cool :)

提交回复
热议问题