Did you ever find a solution for this? I'm trying to do the same thing.
Post
Replies
Boosts
Views
Activity
I just got this warning too, in Xcode 15.0 (15A240d) on macOS Sonoma 14.0 (23A344):
ld: warning: building for 'macCatalyst', but linking in dylib (/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa.tbd) built for 'macOS'
ld: warning: building for 'macCatalyst', but linking in dylib (/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL.tbd) built for 'macOS'
It's a point. The closure argument for .onTapGesture(perform:).
(Oops, this was supposed to be a comment; I don't see how to delete it.)