首页 > 解决方案 > Flutter 在运行 build 或 run 时抛出错误

问题描述

当我尝试运行或运行颤振项目时,我不断得到这个

/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'

标签: iosxcodeflutterflutter-buildflutter-run

解决方案


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


推荐阅读