Flutter 在运行 build 或 run 时抛出错误

时间:2021-07-04 10:16:10

标签: ios xcode flutter flutter-build flutter-run

当我尝试运行或运行 Flutter 项目时,我总是遇到这个问题

/Users/user1/Projects/projectx/ios/Pods/FBSDKCoreKit_Basics/Sources/FBSDK
CoreKit_Basics/FBSDKUserDataStore.m:19:9: fatal error:
'FBSDKUserDataStore.h' file not found
#import "FBSDKUserDataStore.h"
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
note: Removed stale file
'/Users/user1/Library/Developer/Xcode/DerivedData/Runner-axlixevsrpjdqpcqvk
bkkcevsnce/Build/Products/Debug-iphonesimulator/wakelock/wakelock.framework'

1 个答案:

答案 0 :(得分:0)

这是由一个依赖项中的错误引起的,已发布更新并且我能够运行该应用程序。