Open garth opened 10 months ago
I have a view containing a rich text editor which renders on the macOS build, but on the iOS build the app crashes when navigating to this view.
uname -a
Darwin Garths-MacBook-Pro.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64
0.5.4 (97fa3f7c) Installation path: /Users/garth/Projects/beamer-p2p/node_modules/.pnpm/@socketsupply+socket-darwin-arm64@0.5.4/node_modules/@socketsupply/socket-darwin-arm64/
node --version v20.10.0
I expect the iOS app to render the same view as macOS.
2024-01-09 22:36:37.047 SlideBeamer-dev[81290:14774171] *** Assertion failure in +[UTType typesWithTag:tagClass:conformingToType:], UTType.mm:711 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: tag != nil' *** First throw call stack: ( 0 CoreFoundation 0x0000000180491128 __exceptionPreprocess + 172 1 libobjc.A.dylib 0x000000018008412c objc_exception_throw + 56 2 Foundation 0x0000000180d1163c _userInfoForFileAndLine + 0 3 UniformTypeIdentifiers 0x00000001c5feb554 +[UTType(UTTagSpecification) typesWithTag:tagClass:conformingToType:] + 712 4 SlideBeamer-dev 0x000000010243831c -[SSCIPCSchemeHandler webView:startURLSchemeTask:] + 8508 5 WebKit 0x000000018b1e65b0 _ZN6WebKit24WebURLSchemeHandlerCocoa17platformStartTaskERNS_12WebPageProxyERNS_16WebURLSchemeTaskE + 76 6 WebKit 0x000000018b395534 _ZN6WebKit19WebURLSchemeHandler9startTaskERNS_12WebPageProxyERNS_15WebProcessProxyEN3WTF23ObjectIdentifierGenericIN7WebCore18PageIdentifierTypeENS5_38ObjectIdentifierMainThreadAccessTraitsEEEONS_ 7 WebKit 0x000000018b359c2c _ZN6WebKit12WebPageProxy24startURLSchemeTaskSharedEON3WTF3RefINS_15WebProcessProxyENS1_12RawPtrTraitsIS3_EEEENS1_23ObjectIdentifierGenericIN7WebCore18PageIdentifierTypeENS1_38ObjectIdentifierMain 8 WebKit 0x000000018b359b74 _ZN6WebKit12WebPageProxy18startURLSchemeTaskEONS_23URLSchemeTaskParametersE + 52 9 WebKit 0x000000018b69f960 _ZN3IPC13handleMessageIN8Messages12WebPageProxy18StartURLSchemeTaskEN6WebKit12WebPageProxyES5_FvONS4_23URLSchemeTaskParametersEEEEvRNS_10ConnectionERNS_7DecoderEPT0_MT1_T2_ + 64 10 WebKit 0x000000018b6988dc _ZN6WebKit12WebPageProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 6696 11 WebKit 0x000000018b78f714 _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 252 12 WebKit 0x000000018b38e108 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 36 13 WebKit 0x000000018b78b924 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 732 14 WebKit 0x000000018b78bc44 _ZN3IPC10Connection24dispatchIncomingMessagesEv + 468 15 JavaScriptCore 0x0000000194d952b4 _ZN3WTF7RunLoop11performWorkEv + 176 16 JavaScriptCore 0x0000000194d95fc4 _ZN3WTF7RunLoop11performWorkEPv + 32 17 CoreFoundation 0x00000001803f1f18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 18 CoreFoundation 0x00000001803f1e60 __CFRunLoopDoSource0 + 172 19 CoreFoundation 0x00000001803f15d0 __CFRunLoopDoSources0 + 232 20 CoreFoundation 0x00000001803ebcb8 __CFRunLoopRun + 768 21 CoreFoundation 0x00000001803eb5a4 CFRunLoopRunSpecific + 572 22 GraphicsServices 0x000000018e9fbae4 GSEventRunModal + 160 23 UIKitCore 0x00000001852f02e4 -[UIApplication _run] + 868 24 UIKitCore 0x00000001852f3f5c UIApplicationMain + 124 25 SlideBeamer-dev 0x00000001023ccaa4 main + 104 26 dyld 0x0000000102665544 start_sim + 20 27 ??? 0x00000001026f60e0 0x0 + 4335821024 28 ??? 0x1378800000000000 0x0 + 1403012021414264832 ) libc++abi: terminating due to uncaught exception of type NSException
Thanks for reporting! We actually have fixed this and landed in the master branch. We'll close after we release 0.5.5
I have a view containing a rich text editor which renders on the macOS build, but on the iOS build the app crashes when navigating to this view.
What OS are you using (
uname -a
, or Windows version)?What version Socket Runtime are you using?
What programming language are you using (C/C++/Go/Rust)?
What did you expect to see and what you saw instead?
I expect the iOS app to render the same view as macOS.