Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RN integration app crash upon root view invalidation #15

Open
gdaghero opened this issue Oct 24, 2023 · 1 comment
Open

RN integration app crash upon root view invalidation #15

gdaghero opened this issue Oct 24, 2023 · 1 comment

Comments

@gdaghero
Copy link

I'm trying to integrate your lib in a react native project but whenever the app reloads and the root content is invalidated the app crashes (RCTRootContentView invalidate) .

Any help is much appreciated, leaving the stack trace below:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UITextLayoutCanvasView contentViewInvalidated]: unrecognized selector sent to instance 0x7fbec9e34950'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000011220128d __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00000001106b5894 objc_exception_throw + 48
	2   CoreFoundation                      0x00000001122163a3 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
	3   UIKitCore                           0x000000013442fd3c -[UIResponder doesNotRecognizeSelector:] + 266
	4   CoreFoundation                      0x0000000112205a20 ___forwarding___ + 1459
	5   CoreFoundation                      0x0000000112207c28 _CF_forwarding_prep_0 + 120
	6   Company                              0x00000001052d670c -[RCTRootContentView invalidate] + 124
	7   Company                              0x0000000105307675 __26-[RCTUIManager invalidate]_block_invoke + 533
	8   Company                              0x000000010531ca9a __RCTExecuteOnMainQueue_block_invoke + 26
	9   libdispatch.dylib                   0x0000000115605747 _dispatch_call_block_and_release + 12
	10  libdispatch.dylib                   0x00000001156069f7 _dispatch_client_callout + 8
	11  libdispatch.dylib                   0x0000000115616856 _dispatch_main_queue_drain + 1362
	12  libdispatch.dylib                   0x00000001156162f6 _dispatch_main_queue_callback_4CF + 31
	13  CoreFoundation                      0x000000011215d850 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	14  CoreFoundation                      0x000000011215818b __CFRunLoopRun + 2463
	15  CoreFoundation                      0x0000000112157409 CFRunLoopRunSpecific + 557
	16  GraphicsServices                    0x000000011df58187 GSEventRunModal + 137
	17  UIKitCore                           0x00000001343f83a2 -[UIApplication _run] + 972
	18  UIKitCore                           0x00000001343fce10 UIApplicationMain + 123
	19  Company                              0x0000000104c86748 main + 104
	20  dyld                                0x000000010f8023ee start_sim + 10
	21  ???                                 0x00000002070003a6 0x0 + 8707376038
@nusoloman
Copy link

any update? did you handle it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants