349989153 / 349989153.github.io

My personal blog.
0 stars 0 forks source link

unknown type name 'BN_ULONG' #23

Open 349989153 opened 2 years ago

349989153 commented 2 years ago

xcode build项目,报错:unknown type name 'BN_ULONG'

解决:cocoapods版本是1.9.x,升到1.10.1就好了

记录一下吧。。。

谁能想到包管理器的版本会影响到build呢。。。。

xiaoketeng commented 10 months ago

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.', reason: 'No bundle URL present.

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.' *** First throw call stack: ( 0 CoreFoundation 0x00007ff80045478b exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff80004db73 objc_exception_throw + 48 2 app_ngjb 0x000000010e747c72 RCTFormatError + 0 3 app_ngjb 0x000000010e75e97c 28-[RCTCxxBridge handleError:]_block_invoke + 581 4 libdispatch.dylib 0x000000010fcd454f _dispatch_call_block_and_release + 12 5 libdispatch.dylib 0x000000010fcd57ec _dispatch_client_callout + 8 6 libdispatch.dylib 0x000000010fce66e2 _dispatch_main_queue_drain + 1462 7 libdispatch.dylib 0x000000010fce611e _dispatch_main_queue_callback_4CF + 31 8 CoreFoundation 0x00007ff8003b26cc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 9 CoreFoundation 0x00007ff8003acfbe __CFRunLoopRun + 2429 10 CoreFoundation 0x00007ff8003ac264 CFRunLoopRunSpecific + 560 11 GraphicsServices 0x00007ff809b4024e GSEventRunModal + 139 12 UIKitCore 0x000000011e4437bf -[UIApplication _run] + 994 13 UIKitCore 0x000000011e4485de UIApplicationMain + 123 14 app_ngjb 0x000000010e69fe08 main + 80 15 dyld 0x000000010f940384 start_sim + 10 16 ??? 0x0000000115a7c41f 0x0 + 4658283551 ) libc++abi: terminating due to uncaught exception of type NSException (lldb)

xiaoketeng commented 10 months ago

cd $PROJECT_DIR/.. export NODE_BINARY=node ../node_modules/react-native/scripts/react-native-xcode.sh