- Use the `$(inherited)` flag, or - Remove the build settings from the target. CocoaPod Swift3 pod update error

Solution 1:

  1. Target - > building settings- >ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES, Value type is Boolean, click on the other, change the value to $(inherited)
  2. perform - pod update
  3. Done

Solution 2:

This worked for me:

https://github.com/CocoaPods/CocoaPods/issues/5981#issuecomment-363591574

  1. Go to Build Settings
  2. Search for "Runpath Search Paths".
  3. Double click the value field and add $(inherited)
  4. Product -> Clean Build Folder

Run the cocoapods command in the terminal and things should go fine this time.