I\'m using Parse.com iOS SDK, and I need the current location of the user, so I\'m using the function PFGeoPoint.geoPointForCurrentLocationInBackground(...).
The pr
Check this:
Click at your Project Targets/Build Phases/Link Binary With Libraries/
This file must be listed: CoreLocation.framework
if there is not click Add and select it from the list.
In your ViewController.swift check this:
import CoreLocation
class ViewController: UIViewController, CLLocationManagerDelegate {
/Supporting Files/info.plist <- Click on this file
Click on + to add: Key: NSLocationAlwaysUsageDescription Type: String Value: Add a description
Click on + to add: Key : NSLocationWhenInUseUsageDescription Type: String Value: Add a description
check IOS Simulator /Debug/Location/Apple here you must select something (none => error)