首先報(bào)錯(cuò):
unable to open file (in target "" in project "") (in target '*') Build system information
在File->Workspace Settings->Build System-> 選擇 Legacy Build System
新增報(bào)錯(cuò)如下:
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
選中Project->選擇Info tab->看看Configurations
image.png
重新選擇就好了