从测试航班安装iOS应用程序会显示位置许可警报 [英] Installation of an iOS application from test flight shows location permission alert
问题描述
当我在iOS7设备上从测试航班安装iOS应用程序时,我遇到了这个奇怪的问题。
I am facing this weird issue when I install an iOS application from test flight on iOS7 device.
我看到了位置服务许可警报(有'不要应用程序安装完成后,立即在屏幕上显示'和'确定'按钮)。警报会在几分之一秒内自行消失。
I see the location service permission alert (With 'Don't allow' and 'OK' buttons) momentarily on the screen as soon as the application installation is complete. The alert dismisses itself within a fraction of second.
任何针对类似问题的指针/解决方案都非常受欢迎。
Any pointers/solution to similar problem is highly appreciated.
推荐答案
在对代码进行连续分析并阅读其他问题和博客后,这篇文章有帮助。
After continuous analysis of the code and reading other questions and blogs, this post helped.
我试图调试的代码的didFinishLaunchingWithOptions有一个类的单例实例调用CLLocationManager类的startUpdatingLocation。
The didFinishLaunchingWithOptions of the code I am trying to debug has a singleton instance of a class which was invoking startUpdatingLocation of the CLLocationManager class.
我假设这将一劳永逸地解决问题。
I am assuming this will solve the issue once for all.
这篇关于从测试航班安装iOS应用程序会显示位置许可警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!