I am trying around with the new Siri Shortcuts and would like to provide a location to my custom Intent.
I found that there is this API for creating a CLPlacemark yourself: https://developer.apple.com/documentation/corelocation/clplacemark/2132103-init
But when I do so, Xcode tells me, that the Type of expression is ambiguous without more context
I've added Intents and CoreLocation as imports and my deployment target is iOS 11... So I guess it should work?!?
Fun fact is that instantiating a CLPlacemark like so works in Xcode 9, but not in the Xcode 10 beta?!?
Is there a way to get it working with Xcode 10 as well?
Cheers,
Georg