我想将 CocoaPods 安装到我的 XCode 项目中,但是当我运行 pod install 命令时,我收到以下消息:
Analyzing dependencies
[!] Pod::Executable pull
Updating 094c19b..3c2b414
error: Your local changes to the following files would be overwritten by merge:
FMDB/2.1/FMDB.podspec
GoogleConversionTracking/1.2.0/GoogleConversionTracking.podspec
XMPPFramework/3.6.2/XMPPFramework.podspec
Please, commit your changes or stash them before you can merge.
Aborting
问题是我的项目文件夹中没有安装 GIT。
git status
fatal: Not a git repository (or any of the parent directories): .git
有谁知道如何解决这个问题?注意:我不知道更改这些 .podspecs 中的任何内容