xcode 应用内购买“需要登录”警报问题 iOS
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21548663/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
In-app purchase "Sign-In Required"alert issue iOS
提问by Rohit saraf
I have created an iOS sample app implementing the In-App Purchase. The functionality is to display the retina images if the user purchases the HD Subscription. Here, I am getting some issue as follow:
我创建了一个实现应用内购买的 iOS 示例应用。功能是在用户购买高清订阅后显示视网膜图像。在这里,我遇到了一些问题,如下所示:
- I launch the app and purchase the HD Subscription
- It asks for signing in, I sign in using the test account created for testing
- Purchase successful
- View updated to retina images with all the parameters set inside the code
Now, I go to settings and sign out from the iTunes and App Store
At this point i am getting the issue. The issue is that I get the alert saying "Sign-In Required","Tap continue and sign in to check for downloads. [Environment: Sandbox]". Every time I cancel, I immediately get the alert back and not able to proceed with the app.
- 我启动应用程序并购买高清订阅
- 它要求登录,我使用为测试创建的测试帐户登录
- 购买成功
- 使用代码中设置的所有参数将视图更新为视网膜图像
现在,我转到设置并从 iTunes 和 App Store 注销
在这一点上,我得到了这个问题。问题是我收到警告说“需要登录”,“点击继续并登录以检查下载。[环境:沙盒]”。每次取消时,我都会立即收到警报,并且无法继续使用该应用程序。
Kindly suggest what can be the issue or where can i get the detailed description about the issue and it's solution.
请建议可能是什么问题,或者我可以在哪里获得有关该问题及其解决方案的详细说明。
Thanks in advance.
提前致谢。
回答by Vaibhav Saran
Don't worry, its a issue in iOS 7/8. I also have faced this irritating illogical issue but this alert will not appear in live app. My app is in appstore now and earning well.
别担心,这是 iOS 7/8 的问题。我也遇到过这个令人恼火的不合逻辑的问题,但此警报不会出现在实时应用程序中。我的应用程序现在在应用商店中并且收入不错。
The reason behind this is, conflict between live app installed in your device with sandbox mode apps. To get rid of the issue you need to reset your device then run your app. Issue will not appear again until you again install apps from app store.
这背后的原因是,您设备中安装的实时应用程序与沙盒模式应用程序之间存在冲突。要解决这个问题,您需要重置您的设备,然后运行您的应用程序。在您再次从应用商店安装应用程序之前,问题不会再次出现。
Here you can read more about this:
您可以在此处阅读更多相关信息: