flutter遇到的问题备忘

xcode编译提示:/bin/sh: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory 或者
ld: warning: directory not found for option '-L/xxxx/build/ios/Debug-iphoneos/path_provider'
ld: warning: directory not found for option '-L/xxxx/build/ios/Debug-iphoneos/shared_preferences'
ld: library not found for -lpath_provider

解决: 在命令行下执行下flutter run,在用xcode编译就可以了
原因:工程可能是从其他的电脑复制过来的,缺少本机的flutter设置

此条目发表在未分类分类目录。将固定链接加入收藏夹。

发表评论