If you are using the simulator:
- Press
command + shift + ,
in Xcode to open the scheme editor - Select the Run scheme
- Go to the Options tab
- Check ✅
Allow Location Simulation
- Select a Default Location in the dropdown
Selecting None
as your Default Location may have caused the problem.
More Related Contents:
- How to stop multiple times method calling of didUpdateLocations() in ios
- Get User’s Current Location / Coordinates
- How can I get current location from user in iOS
- Start Location Manager in iOS 7 from background task
- allowsBackgroundLocationUpdates in CLLocationManager in iOS9
- Testing CoreLocation on iPhone Simulator
- iPhone GPS in background never resumes after pause
- iOS: App is not asking user’s permission while installing the app. getting kCLAuthorizationStatusNotDetermined every time – Objective-c & Swift
- iOS – MKMapView place annotation by using address instead of lat / long
- How to get Location user with CLLocationManager in swift?
- Behaviour for significant change location API when terminated/suspended?
- iOS Geofence CLCircularRegion monitoring. locationManager:didExitRegion does not seem to work as expected
- Why the CLLocationManager delegate is not getting called in iPhone SDK 4.0?
- Calculate Total Traveled Distance iOS Swift
- Will iOS region monitoring call didEnterRegion on my app if my app is in a terminated state?
- Region Monitoring Glitch on iOS 7 – Multiple Notifications at the same time
- Add UIPickerView & a Button in Action sheet – How?
- Any way to pre populate core data?
- What does ENABLE_BITCODE do in xcode 7?
- How can I calculate the size of a folder?
- How to create P12 certificate for iOS distribution
- Detecting whether or not device support phone calls?
- How to change text on a back button
- How to create a simple checkbox in iOS? [duplicate]
- Objective-C 101 (retain vs assign) NSString
- Showing pushviewcontroller animation look like presentModalViewController
- Simple and clean way to convert JSON string to Object in Swift
- ‘Receiver () has no segue with identifier ‘addSegue’
- What is Sandbox in iOS? Can I transfer data between one app to another app?
- AVAudioPlayer throws breakpoint in debug mode