3月 232020
 

pod install时出现类似下面的提示:

[!] The `xxxxx [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-ChatExample/Pods-xxxxx.debug.xcconfig’. This can lead to problems with the CocoaPods installation

    – Use the `$(inherited)` flag, or

    – Remove the build settings from the target.

产生此警告的原因是项目 Target 中的一些设置,CocoaPods 也做了默认的设置,如果两个设置结果不一致,可能会造成问题。 其实这段文字已经告诉了修改方法,但是这个修改的位置具体在哪里呢?

 

打开项目 Target – Build Settings– 查找search “ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES” –  修改值为replace value to :  $(inherited)

 

DONE!!!

Sorry, the comment form is closed at this time.