相关疑难解决方法(0)

目标...覆盖`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'.
    - …
Run Code Online (Sandbox Code Playgroud)

xcode cocoapods

229
推荐指数
9
解决办法
12万
查看次数

target会覆盖FRAMEWORK_SEARCH_PATHS构建设置

我想问一下然后回答这个问题.

我想更新我的应用程序内置的CocoaPods,所以我pod install从终端运行.

那是我收到这个错误的时候:

[!] The `APP_NAME [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Run Code Online (Sandbox Code Playgroud)

你如何使用$(继承)标志?

objective-c cocoapods

51
推荐指数
2
解决办法
3万
查看次数

标签 统计

cocoapods ×2

objective-c ×1

xcode ×1