[!] CocoaPods could not find compatible versions for pod "XXXX":
XXXX (= 18.104.22.168416113435)
None of your spec sources contain a spec satisfying the dependency: `XXXX (= 22.214.171.124416113435)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
pod install --repo-update
The sandbox is not in sync with the Podfile.lock. Run ‘pod install’ or update your CocoaPods installation.
删除工程下的 Podfile.lock 和 Pods/
Xcode 工程 Clean
Derived Data 删一下
重新 pod install