cocoapods Target overrides the `OTHER_SWIFT_FLAGS` build setting

platform :ios, '8.0'
use_frameworks!


target 'TestApp' do
  ...

end

After pod installI get the following errors:


[!] The `TestApp [Release]` target overrides the `OTHER_SWIFT_FLAGS` build setting defined in `Pods/Target Support Files/Pods-TestApp/Pods-TestApp.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.

How do I resolve this problem?

  1. Select your project

  2. Switch to your project 's Build Settings panel.

  3. Search for Other Swift Flag


Use the $(inherited) flag, or - Remove the build settings from the target.


猜你喜欢

转载自blog.csdn.net/feifeiwuxian/article/details/80423202