I am using Google Maps iOS SDK in my app, everything worked great until today. I have downloaded Xcode 6.3 and got a few errors. Sorted out all of them, except for two errors in my MapViewController class, that popped up on these two methods:
first method:
func mapView(mapView: GMSMapView!, didTapMarker marker: ExtendedMarker!) -> Bool {
... some code ...
}
with error:
Objective-C method 'mapView:didTapMarker:' provided by method 'mapView(:didTapMarker:)' conflicts with optional requirement method 'mapView(:didTapMarker:)' in protocol 'GMSMapViewDelegate'
second method:
func mapView(mapView: GMSMapView!, markerInfoContents marker: ExtendedMarker!) -> UIView! {
... some code ...
}
with error:
Objective-C method 'mapView:markerInfoContents:' provided by method 'mapView(:markerInfoContents:)' conflicts with optional requirement method 'mapView(:markerInfoContents:)' in protocol 'GMSMapViewDelegate'
I tried rewriting those methods, but it did not help. I also checked for an update on Google Maps SDK, but last update is from February 2015.
I would be thankful for any advice, thank you in advance! :)