Open aaron-splicer opened 3 years ago
Yet another product suggests its a simulator bug: https://github.com/expo/expo/issues/11291
Bit of a wild guess, but could be that the callback is failing on all frameworks. Perhaps re-compiling eureka would resolve??
Hi. Haven't seen that issue. The exception says -[NSURL URLByAppendingPathExtension:]: component, components, or pathExtension cannot be nil.
so maybe look where that method is called and put breakpoints there to see if you can resolve it somehow
When I click a "picture" on one of my forms that pulls up the photo library selector, I first get these warnings and not sure if relevant to the exception. When I then click on a new picture, I get the "Exception: ***" shown below. This might be a simulator bug per https://developer.apple.com/forums/thread/676243 and https://github.com/react-native-image-picker/react-native-image-picker/issues/1541, but just wondering if eureka forms is not passing a newly required param or something. Let me know if you have any ideas and I can set a breakpoint. Per these other postings, apparently its only a simulator problem and works fine on hardware devices.
2021-04-02 10:19:47.055575-0400 SplicerClient-Swift[12088:123463] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. ( "<NSLayoutConstraint:0x6000020d9810 UIView:0x7fcb46ca6f40.width == - 16 (active)>" )
Will attempt to recover by breaking constraint <NSLayoutConstraint:0x6000020d9810 UIView:0x7fcb46ca6f40.width == - 16 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. 2021-04-02 10:19:49.574130-0400 SplicerClient-Swift[12088:123463] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 10:19:49.574740-0400 SplicerClient-Swift[12088:123463] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 10:19:49.575534-0400 SplicerClient-Swift[12088:123463] [ls] unable to get LSApplicationExtensionRecord: Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 10:19:49.712582-0400 SplicerClient-Swift[12088:123705] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 10:19:49.712701-0400 SplicerClient-Swift[12088:123705] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.137648-0400 SplicerClient-Swift[12088:124630] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.137849-0400 SplicerClient-Swift[12088:124630] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.138995-0400 SplicerClient-Swift[12088:124630] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.139099-0400 SplicerClient-Swift[12088:124630] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.139459-0400 SplicerClient-Swift[12088:124630] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.139546-0400 SplicerClient-Swift[12088:124630] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.148400-0400 SplicerClient-Swift[12088:124630] [db] _LSSchemaConfigureForStore failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.148527-0400 SplicerClient-Swift[12088:124630] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x4b64f053 8d1364ff 0b68dbfb 9e7f437e ... d8889279 df4097f1 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0x4b3fda1a 658aac51 e905a4b9 3f769913 ... 73e7d3c9 4a353cfc }} 2021-04-02 11:01:08.162836-0400 SplicerClient-Swift[12088:124630] [xpc.exceptions] <NSXPCConnection: 0x600003265540> connection on anonymousListener or serviceListener from pid 12091: Warning: Exception caught during invocation of selector didSelectMediaWithInfoDictionary:, dropping incoming message and invalidating the connection. Exception: -[NSURL URLByAppendingPathExtension:]: component, components, or pathExtension cannot be nil. -[NSURL URLByAppendingPathExtension:]: component, components, or pathExtension cannot be nil. ( 0 CoreFoundation 0x00007fff20421af6 exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48 2 Foundation 0x00007fff20860900 -[NSURL(NSURLPathUtilities) URLByDeletingPathExtension] + 0 3 PhotosUI 0x00007fff3faf656a -[PUPhotoPickerExtensionHostContext _UIImagePickerControllerInfoDictionaryFromPhotoPickerInfoDictionary:] + 2177 4 PhotosUI 0x00007fff3faf5b5b -[PUPhotoPickerExtensionHostContext didSelectMediaWithInfoDictionary:] + 34 5 Foundation 0x00007fff209290e3 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S1 + 10 6 Foundation 0x00007fff20927e1b -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 2268 7 Foundation 0x00007fff20929412 message_handler + 206 8 libxpc.dylib 0x00007fff20055cac _xpc_connection_call_event_handler + 56 9 libxpc.dylib 0x00007fff2005603e _xpc_connection_mach_event + 905 10 libdispatch.dylib 0x000000010be30a68 _dispatch_client_callout4 + 9 11 libdispatch.dylib 0x000000010be4aba8 _dispatch_mach_msg_invoke + 550 12 libdispatch.dylib 0x000000010be370ad _dispatch_lane_serial_drain + 307 13 libdispatch.dylib 0x000000010be4ba76 _dispatch_mach_invoke + 563 14 libdispatch.dylib 0x000000010be370ad _dispatch_lane_serial_drain + 307 15 libdispatch.dylib 0x000000010be37f9d _dispatch_lane_invoke + 493 16 libdispatch.dylib 0x000000010be43de2 _dispatch_workloop_worker_thread + 882 17 libsystem_pthread.dylib 0x00007fff61167499 _pthread_wqthread + 314 18 libsystem_pthread.dylib 0x00007fff61166467 start_wqthread + 15 )
Env: latest eureka 5.3.3 xcode: 12.4 simulator: 14.4 (always crashes as I tried multiple targets like iphone se second gen and also iphone 12) running on macbook pro v. 11.2.3 w/ Chip: Apple M1 Note that to compile, had to add the following settings to xcode: