使用 react native 和可可豆荚时发出警告

nom*_*nty 5 react-native

在 react native 项目中使用 cocoa pod 时,我在运行pod install. 有谁知道为什么?

[!][Debug]目标覆盖$(inherited)` 标志中OTHER_LDFLAGS定义的构建设置Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the,或者 - 从目标中删除构建设置。

小智 1

这解决了我的问题:https ://stackoverflow.com/a/26077106/4043286

请注意,您需要双击调试和发布目标并将 $(inherited) 添加到两者,如下所示: https: //i.stack.imgur.com/CrC7h.png