【发布时间】:2013-08-24 22:42:09
【问题描述】:
我已将SpatialIite 合并到一个Xcode 项目中,该项目使用来自Proj.4 的头文件,只有一个头文件。两者都是 Xcode 项目并具有静态目标。
我正在尝试从 git 子模块迁移到 Cocoapods。由于静态目标似乎很难与 Cocoapods 一起使用,我只想以通常的方式构建项目。我为Proj.4 制作了 podspec。在为SpatialLite 编写 podfile 后,我收到了警告:
[!] The target `SpatialiteIOS [Debug]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The target `SpatialiteIOS [Debug]` overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Pods.xcconfig'.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The target `SpatialiteIOS [Debug - Release]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The target `SpatialiteIOS [Debug - Release]` overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Pods.xcconfig'.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
我阅读了this issue,但我对警告的含义以及我能做些什么来解决它一无所知。
另外一个问题,当我打开工作区以及单独打开 SpatiaLite 项目时,两者都针对 Mac OSX 64,而假设它是一个 iOS 项目。我的 podfile 确实说“平台:ios”。
【问题讨论】:
-
2020 - 适合任何为这个烦人的问题而苦苦挣扎的人。它真的只是由(惊喜!:))facebook引起的。正如这里所解释的,firebase.google.com/docs/auth/ios/firebaseui “如果你愿意,你可以只添加 Auth 组件和你想使用的提供者......” 一旦你消除了 facebook 选项,就没有问题了。 ://