随笔分类 - 混合开发 / RN项目
摘要:转载:https://www.jianshu.com/p/30202f0b1a0a 现象:React0.54版本导入libc++.tbd、libz.tbd两个文件报错 解决办法: 搜索linking,Other Linker Flags选项 接下来继续,将你工程中这两tbd的删除,我的已经改好所以不
阅读全文
摘要:报错信息: Assertion failed: (severity >= 0 && severity < NUM_SEVERITIES), function SetLogDestination, file /Users/samyao/Git/trace/node_modules/react-nati
阅读全文
摘要:报错信息: Unknown argument type 'attribute' in method -[RCTAppState getCurrentAppState:error:]. Extend RCTConvert to support this type 解决办法: 全局搜索RCTParseU
阅读全文
摘要:Xcode控制台报错信息: Assertion failed: (severity >= 0 && severity < NUM_SEVERITIES), function SetLogDestination, file /Users/z/code/rntest/OldRNDemo/node_mod
阅读全文
摘要:转载自:https://blog.csdn.net/lifeng__/article/details/101521095 我的xcode打包闪退,尝试启动项目,遇到React Native启动报错的问题,原本的项目的是Xcode10的,现在我更新了我Xcode版本到Xcode11. 报错为 Unkn
阅读全文
摘要:转载自: https://www.jianshu.com/p/8cdbe3a9b302 之前一时冲动升级了Xcode,然后不敢升级自己的react-native版本。怕版本差异太大。掉进坑里面。所以只好走了一遍Xcode坑之路。 1.升级为Xcode之后。有点崩溃。各种爆粗。。。主要是 node_m
阅读全文
摘要:https://www.cnblogs.com/richard-youth/p/10002797.html
阅读全文
摘要:https://github.com/zphhhhh/react-native-speech-iflytek/issues/36 描述:[IFlySpeechUtility createUtility:initString]的时候报错: Assertion failed: (severity >=
阅读全文
摘要:zdeMacBook-Pro:sometest z$ react-native run-ios -h react-native run-ios builds your app and starts it on iOS simulator Options: --simulator [string] E
阅读全文
摘要:参考方式 https://github.com/react-native-community/react-native-permissions/blob/master/ios/Camera.podspec https://github.com/react-native-community/react
阅读全文
摘要:zdeMacBook-Pro:ios z$ pod install Auto-linking React Native module for target `sometest`: RNVoicesdk Analyzing dependencies Fetching podspec for `Doub
阅读全文
摘要:在demo工程里package.json文件中加入以下,并 npm i "dependencies": { ... "voicesdk": "../voicesdk", ... },
阅读全文
摘要:https://juejin.im/post/5b20ceb16fb9a01e4f47cd49 下面是iOS向RN传递对象的代码 #import <React/RCTBridgeModule.h> @implementation Voicesdk RCT_EXPORT_METHOD(startRec
阅读全文