potloc not working with beta 2

Downloaded potloc sample code and in xcode 7 beta2 receiving an error:

'Obj-c method ... provided by method ...conflicts with optional requirement method ... in protocol 'CLLocationManagerDelegate'' for this statement:


func locationManager(manager: CLLocationManager, didUpdateLocations locations: [AnyObject])


Changed 'AnyObject' to 'CLLocation' to match latest Swift documentation. This allowed code to build/run. When I select 'start updating location' from the iPhone app, get this error:

Error when updating application context Error Domain=WCErrorDomain Code=7005 "The operation couldn’t be completed. (WCErrorDomain error 7005.)".


Statement is in the PotlocViewController.Swift file. Have not updated any settings. Just looking to have this work in the Simulators.

Side note: When I start typing out this function, it does not appear in the autocomplete list.

Replies

You have to change the AnyObject to CLLocation. I love how this stuff just breaks without any rhyme or reason.....