关于实战携程App源码编译时出现错误

来源:15-7 Flutter Plugin开发指南-iOS端实现-1【打通Flutter与iOS的任通二脉】

武天强

2022-03-02

下载老师源码包后,编译出现错误,ld: warning: directory not found for option '-L/Users/tianqiangwu/Downloads/Project/flutter_trip/ios/plugin/BDSClientLib’
ld: in /Users/tianqiangwu/Downloads/Project/flutter_trip/ios/plugin/ASRPlugin/BDSClientLib/libBaiduSpeechSDK.a(BDSEventManager.o), building for iOS Simulator, but linking in object file built for iOS, file ‘/Users/tianqiangwu/Downloads/Project/flutter_trip/ios/plugin/ASRPlugin/BDSClientLib/libBaiduSpeechSDK.a’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

写回答

1回答

CrazyCodeBoy

2022-03-02

cd ios 然后pod install 安装下依赖之后在试试看

0
0

Flutter从入门到进阶 实战携程网App 一网打尽核心技术

解锁Flutter开发新姿势,,系统掌握Flutter开发核心技术。

4788 学习 · 3270 问题

查看课程