ios - React Native Podfile IOS安装错误

标签 ios react-native cocoapods podfile

我和我的 friend 一直在 react-native 工作。一家公司的项目,他正在开发 Android 的 Windows,而我正在开发 IOS 部分 Google MapsPlacesPicker 。 但现在我的 friend 添加了 googleSignin我尝试将其添加到我的 Podfile对于 IOS 并安装 pod,出现一个错误,这阻止了我继续处理它。

[!] The `Project [Release]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-Project/Pods-Project.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

提前谢谢您。

最佳答案

转到 Xcode 项目并选择“build设置”。 向下滚动并找到“搜索路径”部分下的“库搜索路径”下拉列表。 在 Release模式下,在路径字符串的开头使用 $(inherited)。

enter image description here

关于ios - React Native Podfile IOS安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49355857/

相关文章:

javascript - React - 当 Prop 通过父状态更新时,子组件不会更新

objective-c - 在 macOS 项目中使用 libxlsxwriter 而不使用 CocoaPods

ios - 在 viewDidLoad 方法中链接到另一个 ViewController

ios - 能够缩短 UIDragInteraction 的长按时间

ios - NSDecimalNumber 出现 NaN

ios - 使用 SnapKit 的自动布局未按预期响应

javascript - 启动 watchman 时出错

javascript - 为什么我的函数无意中执行了两次?

objective-c - 找不到 Cocoapods podspec 依赖项导入文件

ios - 如何发布新的官方 pod 版本?