callstack / callstack/react-native-fbads
[7.0.5] Error: "no known class method" while compiling library
- 主要语言
- Java
- 星标
- 451
- 派生
- 147
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Error as below**
/Users/kyokurosagi/ReactNative/tootitoo/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m:90:17: error: no known class method for selector 'setMixedAudience:'
[FBAdSettings setMixedAudience:isDirected];
^~~~~~~~~~~~~~~~
/Users/kyokurosagi/ReactNative/tootitoo/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m:135:19: error: no known class method for selector 'setAdvertiserTrackingEnabled:'
[FBAdSettings setAdvertiserTrackingEnabled:enabled];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kyokurosagi/ReactNative/tootitoo/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m:141:17: error: no known class method for selector 'setMixedAudience:'
[FBAdSettings setMixedAudience:_isChildDirected];
^~~~~~~~~~~~~~~~
/Users/kyokurosagi/ReactNative/tootitoo/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m:150:17: error: no known class method for selector 'setMixedAudience:'
[FBAdSettings setMixedAudience:NO];
^~~~~~~~~~~~~~~~
4 errors generated.
Upgrading from **6.3.1** to **7.0.5.**
Had run `cd ios && pod install`. Is it only me getting this error?
using
react **16.13.1**
react-native **0.63.3**
Deployment Target is version **9.0**
贡献指南
调研方向
Start by reproducing the iOS build after upgrading from 6.3.1 to 7.0.5 and running pod install. Inspect ios/ReactNativeAdsFacebook/EXAdSettingsManager.m at the reported calls to FBAdSettings, using the listed React Native, React, and deployment-target versions. Done means the library compiles without the four unknown-class-method errors.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, objective-c, react-native
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100