目标...覆盖`Pods / Pods.xcconfig中定义的`OTHER_LDFLAGS`构建设置
我已经合并SpatialIite
到一个Xcode项目中,该项目使用头文件Proj.4
,只有一个头文件。两者都是Xcode项目并具有静态目标。
我正在尝试从git子模块迁移到Cocoapods。由于静态目标似乎很难与Cocoapods一起使用,我只想以通常的方式构建项目。我做了podspec Proj.4
。写完podfile之后SpatialLite
我收到了警告:
[!] 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项目时,两者都是针对Mac OSX 64的,当它被认为是一个iOS项目时。我的podfile确实说“platform:ios”。
繁花如伊
郎朗坤
相关分类