- Use the `$(inherited)` flag, or - Remove the build settings from the target. CocoaPod Swift3 pod update error
This worked for me:
https://github.com/CocoaPods/CocoaPods/issues/5981#issuecomment-363591574
- Go to Build Settings
- Search for "Runpath Search Paths".
- Double click the value field and add
$(inherited)
- Product -> Clean Build Folder
Run the cocoapods command in the terminal and things should go fine this time.