callstack / callstack/react-native-fbads

Build with Facbeook iOS SDK v12 fails with 'FBSDKCoreKit/FBSDKSettings.h' file not found

未关闭
#308 22 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
451
派生
147
PR 合并指标
30 天内没有已合并 PR

描述

# Bug Report

**Before opening**

- [x] Did you try the latest release?
- [x] Did you look for existing issues?

**Ad Modules**

**Platforms**

iOS

**Versions**

- Android:
- iOS: 15
- react-native-fbads: 7.0.5
- react-native:0.65.1

**Current Behaviour**

Until this morning our release builds ran smoothly but re-running the same build that worked this morning fails with the following error:

```
/Users/user/actions-runner/_work/user-mobile/user-mobile/node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m:10:9: 'FBSDKCoreKit/FBSDKSettings.h' file not found

#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

**Expected Behaviour**
The build to run smooth again.

**Steps to Reproduce**
It happens on two different build servers independent of a branch to build.

Thanks so much for any idea what this could cause it all of a sudden.

贡献指南

打开贡献指南

调研方向

首先检查 node_modules/react-native-fbads/ios/ReactNativeAdsFacebook/EXAdSettingsManager.m,尤其是无法找到 FBSDKCoreKit/FBSDKSettings.h 的 import。使用 react-native-fbads 7.0.5、React Native 0.65.1 和 iOS 15 重现 release 构建,然后追踪 iOS 依赖项的设置过程。当 release 构建在受影响的服务器上成功时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, react-native
领域
build-system, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。