React Native Podfile IOS 安装错误
React Native Podfile IOS Installation Error
我和我的朋友一直在一家公司的 react-native
项目中工作,他正在为 Android 开发 windows,而我正在开发 IOS Google Maps
和 PlacesPicker
旁边的部分。
但是现在在我的朋友添加了 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 项目和 select 构建设置。
向下滚动并在 'Search Paths' 部分下找到 Library Search Path 下拉菜单。
在发布模式中,在路径字符串的开头使用 $(inherited)。
感谢您的提示@csath,您确实帮助我挖掘了 xcode 上的路径文件。但问题实际上已由我应用于每个路径的 @SamirChenon tricks 解决。此外,我还删除了 podfile
内部的 pod packages
和 pod install
.
之间的空格
谢谢大家的帮助:D
我和我的朋友一直在一家公司的 react-native
项目中工作,他正在为 Android 开发 windows,而我正在开发 IOS Google Maps
和 PlacesPicker
旁边的部分。
但是现在在我的朋友添加了 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 项目和 select 构建设置。 向下滚动并在 'Search Paths' 部分下找到 Library Search Path 下拉菜单。 在发布模式中,在路径字符串的开头使用 $(inherited)。
感谢您的提示@csath,您确实帮助我挖掘了 xcode 上的路径文件。但问题实际上已由我应用于每个路径的 @SamirChenon tricks 解决。此外,我还删除了 podfile
内部的 pod packages
和 pod install
.
谢谢大家的帮助:D