Still happening for me for a project with siri intent definition which causes autogenerated header file. Async methods (available in iOS 15) added in the generated intent definition header file have the same signature as the ones defined in iOS 13, but using completion blocks.
This is just an example, but I have many of these and I couldn't find any solution so far:
(void)handleCheckInChild:(CheckInChildIntent * _Nonnull)intent completion:(void (^ _Nonnull)(CheckInChildIntentResponse * _Nonnull))completion;
(void)handleCheckInChild:(CheckInChildIntent * _Nonnull)intent completion:(void (^ _Nonnull)(CheckInChildIntentResponse * _Nonnull))completionHandler SWIFT_AVAILABILITY(watchos,introduced=8.0) SWIFT_AVAILABILITY(macos,introduced=12.0) SWIFT_AVAILABILITY(ios,introduced=15.0);
Error: Multiple declarations of method 'handleCheckInChild:completion:' found and ignored
Post
Replies
Boosts
Views
Activity
Opened FB9632938 for this
I'm reproducing the same issue on iSO 17.0.x and 17.1 beta. Did anyone find a workaround for this, or an official reference explaining the root cause? Thanks!