Location Services not working in iOS 6 [duplicate]
Asked Answered
D

2

2

Possible Duplicate:
iOS 6 and Location Services not working

Our app's location services have stopped functioning in iOS 6. They work fine in iOS 5. When I call CLLocationManager's startUpdatingLocation method it never prompts the user for access and our app doesn't show up in the Settings Location Services page.

Anyone seen this before? I really have no idea where to look. I have tried stripping down our app to just a single view controller and it still doesn't work. Maybe something in the build settings?

Edit: I created a new target and it works in there.

Dominik answered 20/9, 2012 at 19:39 Comment(1)
I asked my question first so good job closing it.Dominik
D
6

It looks like the problem was we did not have CFBundleDisplayName declared in the .plist file. We had CFBundleName but not CFBundleDisplayName.

Dominik answered 20/9, 2012 at 20:30 Comment(1)
I have this already, still not working with me. It works fine on previous iOS versions.Akiko
G
-1

I created the project with XCode 4.4, after install Xcode 4.5 location doesn't work. Declaring in the .plist file key CFBundleDisplayName location now is working.

Gorgoneion answered 21/9, 2012 at 8:17 Comment(2)
Location services and localization are completely different topics.Ampliate
yes... location, sorry!!Gorgoneion

© 2022 - 2024 — McMap. All rights reserved.