线程1:信号SIGABRT Xcode 13反应原生



ios构建在ios 15和14版本中运行良好,但在ios 13中崩溃

这里是崩溃日志:

dyld: Symbol not found: _CTRadioAccessTechnologyNR参考来源:/Users/mobiledeveloper1/Library/Developer/CoreSimulator/Devices/A984B2B1-76D2-4952-86D9-A0B965E44A96/data/Containers/Bundle/Application/50FCF1BC-C2BF-4422-8D9F-D20909AD82FA/xxxx.app/xxxx期望在:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0. simmruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony .framework/用户/mobiledeveloper1/图书馆/开发/CoreSimulator/设备/a984b2b1 d2 - 76 - 4952 - 86 - d9 a0b965e44a96/数据/集装箱/包/应用程序/50 fcf1bc c2bf - 4422 - 8 d9f d20909ad82fa/xxxx.app/xxxxDyld:启动,加载依赖库DYLD_ROOT_PATH =/图书馆/开发/CoreSimulator/Profiles/运行时/iOS 13.0.simruntime/内容/资源/RuntimeRootDYLD_LIBRARY_PATH =/用户/mobiledeveloper1/图书馆/开发/Xcode/DerivedData/xxxx-cjvgiueyhtqsdwfeubkhymexnxwg/构建/产品/Debug-iphonesimulator:/图书馆/开发/CoreSimulator/Profiles/运行时/iOS 13.0.simruntime/内容/资源/RuntimeRoot/usr/lib/系统/自省DYLD_INSERT_LIBRARIES =/图书馆/开发/CoreSimulator/Profiles/运行时/iOS 13.0.simruntime/内容/资源/RuntimeRoot/usr/lib/libBacktraceRecording。dylib:/图书馆/开发/CoreSimulator/Profiles/运行时/iOS 13.0.simruntime/内容/资源/RuntimeRoot/usr/lib/libMainThreadChecker。dylib:/图书馆/开发/CoreSimulator/Profiles/运行时/iOS 13.0.simruntime/内容/资源/RuntimeRoot/开发/图书馆/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylibDYLD_FALLBACK_FRAMEWORK_PATH =/图书馆/开发/CoreSimulator/Profiles/运行时/iOS 13.0.simrunt

您正在尝试在模拟器上测试corephone .framework。你不能从模拟器中打电话。

我下调了版本的@react-native-community/netinfo npm包。现在工作正常。谢谢你的回复@larme和Boris

最新更新