pod install 报错

时间:2021-08-23 06:34:30

更新pod出现如下警告

The `SmartCloud_TS [Debug]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `Pods/Target Support Files/Pods-SmartCloud_TS/Pods-SmartCloud_TS.debug.xcconfig'. This can lead to problems with the CocoaPods installation

你需要在Build Setting 搜索 Preprocessor Macros

2.在Preprocessor Macros选项后双击添加  $(inherited)

3.然后问题就解决了pod install 报错

4.借鉴文章链接:http://*.com/questions/18376416/the-target-overrides-the-other-ldflags-build-setting-defined-in-pods-pods