Errors after updating to Xcode 8: “No such module” and “target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT`build setting”

[!] The `X` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `X'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.

I had met this problem today. I solved it by

  1. Go to Project/Targets -> [Project Name] -> Build Settings.
  2. search “ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES”
  3. click the right of Debug, and selected ‘Other’, input “$(inherited)”
  4. do same with ‘Release’ and install your pod

You can follow the image below.


enter image description here

Leave a Comment