First:选中shared image.png 此时可以试试:$ carthage build --no-skip-current 编译成功会在当前目录生成Carthage文件夹。 然后记得把xcscheme一起提交到git