expo / expo-pixi

Tools for using pixi.js in Expo
MIT License
304 stars 119 forks source link

iOS app crash when used expo-pixi in app created with expo-bare-template #71

Open organic-scholar opened 5 years ago

organic-scholar commented 5 years ago

I tried to used Signaure Component the following error printed in log and app unexpectedly closed.

I have created a react-native app using expo cli expo init --template bare-minimum

Apr 14 15:45:00 Naumans-MacBook-Pro elmer[3840] : Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTCxxBridge jsContextRef]: unrecognized selector sent to instance 0x7fb3829007c0' First throw call stack: ( 0 CoreFoundation 0x0000000109bf5b0b exceptionPreprocess + 171 1 libobjc.A.dylib 0x00000001085a8141 objc_exception_throw + 48 2 CoreFoundation 0x0000000109c65134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x0000000109b7c840 __forwarding + 1024 4 CoreFoundation 0x0000000109b7c3b8 _CF_forwarding_prep_0 + 120 5 elmer 0x0000000106cefbaa -[UMReactNativeAdapter javaScriptContextRef] + 58 6 elmer 0x000000010681c95b -[EXGLContext initialize:] + 219 7 elmer 0x0000000106820c25 -[EXGLView initWithModuleRegistry:] + 693 8 elmer 0x0000000106822b0d -[EXGLViewManager view] + 93 9 elmer 0x0000000106cf24b7 -[UMViewManagerAdapter view] + 55 10 elmer 0x0000000106b44cf9 -[RCTComponentData createViewWithTag:] + 377 11 elmer 0x0000000106cadfdb 50-[RCTUIManager createView:viewName:rootTag:props:]_block_invoke + 75 12 elmer 0x0000000106cbe94d RCTExecuteOnMainQueue_block_invoke + 29 13 libdispatch.dylib 0x000000010dc09585 _dispatch_call_block_and_release + 12 14 libdispatch.dylib 0x000000010dc2a792 _dispatch_client_callout + 8 15 libdispatch.dylib 0x000000010dc12247 _dispatch_main_queue_callback_4CF + 1041 16 CoreFoundation 0x0000000109bba909 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 17 CoreFoundation 0x0000000109b80ae4 __CFRunLoopRun + 2164 18 CoreFoundation 0x0000000109b80016 CFRunLoopRunSpecific + 406 19 GraphicsServices 0x000000010f46fa24 GSEventRunModal + 62 20 UIKit 0x000000010bbe0134 UIApplicationMain + 159 21 elmer 0x00000001067ee4b0 main + 112 22 libdyld.dylib 0x000000010dc7365d start + 1 23 ??? 0x0000000000000001 0x0 + 1 )

jeonghoonkim commented 5 years ago

Any luck? I’m having a same issue.