0
I'm using React Native 0.60.5, with Xcode 10.1, and node 8.11.3
I'm running into the following error every time I run my app in Release mode, but it works fine in dev mode.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000109a551bb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x0000000107bce735 objc_exception_throw + 48
2 CoreFoundation 0x0000000109a55015 +[NSException raise:format:] + 197
3 Foundation 0x0000000107693461 -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] + 81
4 gobalto 0x00000001054c0c42 RCTImageFromLocalBundleAssetURL + 250
5 gobalto 0x000000010546e3e4 +[RCTConvert(Deprecated) UIImage:] + 386
6 gobalto 0x00000001055335e2 +[ImageParser parse:key:] + 167
7 gobalto 0x000000010554578d -[RNNBottomTabOptions initWithDict:] + 508
8 gobalto 0x000000010555b2f2 -[RNNNavigationOptions initWithDict:] + 360
9 gobalto 0x000000010554d893 -[RNNControllerFactory createStack:] + 223
10 gobalto 0x000000010554d308 -[RNNControllerFactory fromTree:] + 219
11 gobalto 0x000000010554e33b -[RNNControllerFactory extractChildrenViewControllersFromNode:] + 310
12 gobalto 0x000000010554da61 -[RNNControllerFactory createBottomTabs:] + 242
13 gobalto 0x000000010554d308 -[RNNControllerFactory fromTree:] + 219
14 gobalto 0x0000000105548962 -[RNNCommandsHandler setRoot:commandId:completion:] + 873
15 gobalto 0x0000000105546d5e -[RNNBridgeModule setRoot:layout:resolver:rejecter:] + 173
16 CoreFoundation 0x0000000109a5c03c __invoking___ + 140
17 CoreFoundation 0x0000000109a594d5 -[NSInvocation invoke] + 325
18 CoreFoundation 0x0000000109a59926 -[NSInvocation invokeWithTarget:] + 54
19 gobalto 0x0000000105490e71 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 612
20 gobalto 0x0000000105493423 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 251
21 gobalto 0x00000001054931a5 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 78
22 libdispatch.dylib 0x000000010bd674e1 _dispatch_call_block_and_release + 12
23 libdispatch.dylib 0x000000010bd6854b _dispatch_client_callout + 8
24 libdispatch.dylib 0x000000010bd74380 _dispatch_main_queue_callback_4CF + 1290
25 CoreFoundation 0x00000001099ba3e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
26 CoreFoundation 0x00000001099b4a76 __CFRunLoopRun + 2342
27 CoreFoundation 0x00000001099b3e11 CFRunLoopRunSpecific + 625
28 GraphicsServices 0x00000001109ea1dd GSEventRunModal + 62
29 UIKitCore 0x000000011488c81d UIApplicationMain + 140
30 gobalto 0x0000000105413432 main + 80
31 libdyld.dylib 0x000000010bdd8575 start + 1
32 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException