在目录中找到现有的 Podfile

Existing Podfile found in directory

使用 pods,当 运行 目录中的“pod init”时,终端给了我这条消息“[!] 在目录中找到了现有的 Podfile”(没有)。

有什么问题?

我通过重新加载目录路径修复了它。 运行 再次“cd /Users/x/Desktop/x”,然后“pod init”。