问题描述
我正在 Xcode 上运行我的 Flutter 项目,但我遇到了这个问题:
clang: error: no such file or directory: 'CoreGraphics'
clang: error: no such file or directory: 'Foundation'
clang: error: no such file or directory: 'MobileCoreServices'
clang: error: no such file or directory: 'PinterestSDK'
clang: error: no such file or directory: 'SSKeychain'
clang: error: no such file or directory: 'Security'
clang: error: no such file or directory: 'SystemConfiguration'
Command Ld Failed with a nonzero exit code
我在 pod 文件中添加了 pod 'PinterestSDK' 和 pod 'SSKeychain',但仍然无法正常工作。
此外,我在终端中运行了 pod install 但仍然无法正常工作。
解决方法
您是否尝试过在终端中运行 flutter clean。有时有助于解决此类问题。