我已经合并SpatialIite
到一个Xcode项目中,该项目使用的头文件Proj.4
仅来自一个头。两者都是Xcode项目,并且具有静态目标。
我正在尝试从git子模块迁移到Cocoapods。由于Cocoapods似乎很难使用静态目标,因此我只想以通常的方式构建项目。我为做了podspec Proj.4
。在为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.
我阅读了此问题,但对于警告的含义以及如何解决此问题我一无所知。
另外的问题是,当我打开工作区以及单独打开SpatiaLite项目时,当假定它是一个iOS项目时,两者都针对Mac OSX 64。我的podfile确实说“ platform:ios”。