Exception generated & UI defects after embedding Meeting SDK

Description
We have embedded the latest meeting SDK into our MacOS app but doing so seems to interfere with the responder chain for some of our Main Menu items, effectively disabling them and additionally causing other drawing defects. Additionally, we’re seeing automated UI tests failing with “Unrecognized selector sent to instance…” exceptions being generated (they pass when the Meeting SDK is not present).

Which macOS Meeting SDK version?
v.5.11.3.9091

Screenshots
Notice the difference in the responder chain before adding the Meeting SDK:

Versus after adding the Meeting SDK:

Stack Trace
Notice frame #6:

thread #1, queue = ‘com.apple.main-thread’, stop reason = hit Objective-C exception
frame #0: 0x00007ff80ce07e18 libobjc.A.dylibobjc_exception_throw frame #1: 0x00007ff80de8fd13 Foundation-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 267
frame #2: 0x00007ff80f9d16cd AppKit-[NSView setFrameSize:] + 2690 frame #3: 0x000000012eb293ae ZoomSDKVideoUI___lldb_unnamed_symbol20156$$ZoomSDKVideoUI + 30
frame #4: 0x00007ff80f9e2075 AppKit-[NSView setFrame:] + 404 frame #5: 0x000000010389ddac Final Draft 13-[JUCollectionView setFrame:](self=0x00007fb7df858490, _cmd=“setFrame:”, frameRect=(origin = (x = 0, y = 0), size = (width = NaN, height = 4.7395711252380108E+291))) at JUCollectionView.mm:451:5
frame #6: 0x0000000131adbbb2 ZoomKit___lldb_unnamed_symbol2830$ZoomKit + 116 frame #7: 0x00007ff80fba331e AppKit-[NSApplication(NSResponder) sendAction:to:from:] + 288
frame #8: 0x00007ff80fc98090 AppKit-[NSMenuItem _corePerformAction] + 413 frame #9: 0x00007ff80fc97db2 AppKit-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
frame #10: 0x00007ff80fce26ff AppKit-[NSMenu performActionForItemAtIndex:] + 113 frame #11: 0x00007ff80fce2685 AppKit-[NSMenu _internalPerformActionForItemAtIndex:] + 82
frame #12: 0x00007ff80fce24cc AppKit-[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101 frame #13: 0x00007ff80fc7c662 AppKitNSSLMMenuEventHandler + 1074
frame #14: 0x00007ff81611734d HIToolboxDispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1365 frame #15: 0x00007ff81611679c HIToolboxSendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 333
frame #16: 0x00007ff81612b3a9 HIToolboxSendEventToEventTarget + 39 frame #17: 0x00007ff8161892e5 HIToolboxSendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 361
frame #18: 0x00007ff8161ae457 HIToolboxSendMenuCommandWithContextAndModifiers + 46 frame #19: 0x00007ff8161ae405 HIToolboxSendMenuItemSelectedEvent + 344
frame #20: 0x00007ff8161ae250 HIToolboxFinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96 frame #21: 0x00007ff8161aec48 HIToolboxMenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 625
frame #22: 0x00007ff8161ae93e HIToolbox_HandleMenuSelection2 + 456 frame #23: 0x00007ff80fb3d965 AppKit_NSHandleCarbonMenuEvent + 215
frame #24: 0x00007ff80fb3d7d2 AppKit_DPSEventHandledByCarbon + 54 frame #25: 0x00007ff80f99e070 AppKit-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3368
frame #26: 0x00007ff80f98ff69 AppKit-[NSApplication run] + 586 frame #27: 0x00007ff80f963ee7 AppKitNSApplicationMain + 817
frame #28: 0x0000000102f13fe8 Final Draft 13main(argc=3, argv=0x0000000315fa9398) at FMFinalDraftApp.mm:153:7 frame #29: 0x000000021189051e dyldstart + 462

Troubleshooting Routes
Removing SDK files from some build settings/phases in the project file & verifying SDK was correctly added

Device (please complete the following information):

  • OS: Monterey & Big Sur

We’d appreciate any help. Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.