Installation of an iOS application from test flight shows location permission alert

霸气de小男生 提交于 2019-12-02 15:08:49

问题


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.


回答1:


After continuous analysis of the code and reading other questions and blogs, this post helped.

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.



来源:https://stackoverflow.com/questions/20864247/installation-of-an-ios-application-from-test-flight-shows-location-permission-al

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