Possible Duplicate:
iOS 6 and Location Services not working
我们应用程序的位置服务已在 iOS 6 中停止运行。它们在 iOS 5 中工作正常。当我调用 CLLocationManager 的 startUpdatingLocation 方法时,它永远不会提示用户进行访问,并且我们的应用程序不会显示在“设置位置服务”页面中。
有人见过这个吗?我真的不知道该去哪里看。我尝试将我们的应用程序剥离为单个 View Controller ,但它仍然无法工作。也许是build设置中的某些内容?
编辑: 我创建了一个新目标,它可以在其中运行。
最佳答案
看起来问题是我们没有在 .plist 文件中声明 CFBundleDisplayName。我们有 CFBundleName,但没有 CFBundleDisplayName。
关于cllocationmanager - 定位服务在 iOS 6 中不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12519733/