rn-bugly icon indicating copy to clipboard operation
rn-bugly copied to clipboard

Use of undeclared identifier 'RNBugly'

Open liusanhong opened this issue 3 years ago • 3 comments

Release IOS Use of undeclared identifier 'RNBugly'

liusanhong avatar Jun 18 '22 09:06 liusanhong

我也遇到同样的问题 rn-bugly 版本1.2.0 react-native 版本 0.70.6 Xcode 版本 14.3.1 求解

lapidcj avatar Oct 12 '23 13:10 lapidcj

这个库基本没啥用了,官方已经停止了安卓的全量更新,如果只用统计我感觉其他的库更好

yz1311 avatar Oct 12 '23 13:10 yz1311

好的,我这边目前只用了异常上报,不过这个问题已经解决了,谢啦 解决方法是: import 语句需要放到 #ifdef FB_SONARKIT_ENABLED 语句前面 即:

#import <RNBugly.h>

#if RCT_NEW_ARCH_ENABLED

lapidcj avatar Oct 12 '23 13:10 lapidcj