This specific error is caused by SE-0103 Make non-escaping closures the default. The closure parameter to
handle(startAudioCall:completion:)
needs to be marked with
@escaping
like this:
func handle(startAudioCall startAudioCallIntent: INStartAudioCallIntent, completion: @escaping (INStartAudioCallIntentResponse) -> Void) …
However, once you fix this you will discover other problems. It’s clear that the sample hasn’t been updated to account for the final Swift 3 changes. Please file a bug against it, and then post your bug number, just for the record.
If you have trouble fixing the other problems post back and we’ll take things from there.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"