The sandbox isn't in sync with the Podfile.lock. Run ' pod install ' or update your CocoaPods installation. '
Usually as long as the terminal input pod install is good, but today is wrong, prompt [!] Unable to find a specification for ' FMDB '
Then I entered the pod search Fmdb in the terminal, the result unexpectedly prompt: [!] Unable to find a pod with name, author, summary, or description matching ' Fmdb '
I then entered the Pod Setup manual installation, first appeared setting up CocoaPods master repo, but it also prompted the error:
fatal:ambiguous argument ' HEAD ': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
' Git <command> [<revision> ...]--[<file> ...]
fatal:ambiguous argument ' HEAD ': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
' Git <command> [<revision> ...]--[<file> ...]
fatal:ambiguous argument ' HEAD ': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
' Git <command> [<revision> ...]--[<file> ...]
$/usr/bin/git-c/users/lv/.cocoapods/repos/master Pull--ff-only
It was really silent, and then I found the answer on GitHub.
Remove the local master first, and in the terminal enter Pod repo remove master
Then go to the path and enter the CD in the terminal ~/.cocoapods/repos
Then download the spec on GitHub and replace the master in the path ~/.cocoapods/repos directory
Then in the terminal Input command: Git clone--depth 1 https://github.com/CocoaPods/Specs.git Master, waiting for the download to complete
OK, you can now update these third-party libraries correctly by executing pod install--no-repo-update.
But again input pod search Fmdb still is the hint cannot find, is because before pod search when generated Search_index.json, delete it can enter command: RM ~/library/caches/cocoapods/ Search_index.json Enter
Then enter pod Search Fmdb again to prompt
Creating Search index for spec repo ' master '.
Then wait, and eventually the relevant third-party library appears and displays
Creating Search index for spec repo ' master '. done!
The following resources are referenced throughout the process, thanks