Having trouble compiling the sample app found in the Indoor SDK.
http://developer.estimote.com/indoor/build-an-app/
I’m getting an error on the line: let fetchLocationRequest = EILRequestFetchLocations(locationIdentifier: “area”)
The error calls locationIdentifier an extra argument.
Any thoughts? Anyone else recently compile this code without error?
override func viewDidLoad() {
super.viewDidLoad()
self.locationManager.delegate = self
ESTConfig.setupAppID("spoor-3ga", andAppToken: "273c41a1ecb30f24cf2e56f7c85132ce")
let fetchLocationRequest = EILRequestFetchLocations(locationIdentifier: "area")
fetchLocationRequest.sendRequestWithCompletion { (location, error) in
if location != nil {
self.location = location!
// start indoor positioning
self.locationManager.startPositionUpdatesForLocation(self.location)
} else {
println("can't fetch location: \(error)")
}
}
}