当前位置:网站首页>Flutter ‘/usr/lib/libswiftCore.dylib‘ (no such file)
Flutter ‘/usr/lib/libswiftCore.dylib‘ (no such file)
2022-07-04 03:55:00 【早起的年轻人】
1 运行Flutter项目报错如下
Launching lib/main.dart on iPhone (3) in debug mode…
Automatically signing iOS for device deployment using specified development team in Xcode project: xxxx
Running pod install…
Running Xcode build…
Xcode build done. 53.0s
Installing and launching…
(lldb) dyld[17086]: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/CB7B3119-83E0-4959-ADD8-8253556410E5/Runner.app/Runner
Reason: tried: ‘/private/var/containers/Bundle/Application/CB7B3119-83E0-4959-ADD8-8253556410E5/Runner.app/Frameworks/libswiftCore.dylib’ (no such file), ‘/private/var/containers/Bundle/Application/CB7B3119-83E0-4959-ADD8-8253556410E5/Runner.app/Frameworks/libswiftCore.dylib’ (no such file), ‘/usr/local/lib/libswiftCore.dylib’ (no such file), ‘/usr/lib/libswiftCore.dylib’ (no such file)
thread #1, stop reason = signal SIGABRT
frame #0: 0x00000001047087a0 dyld__abort_with_payload + 8 dyld__abort_with_payload:
-> 0x1047087a0 <+8>: b.lo 0x1047087c0 ; <+40>
0x1047087a4 <+12>: pacibsp
0x1047087a8 <+16>: stp x29, x30, [sp, #-0x10]!
0x1047087ac <+20>: mov x29, sp
Target 0: (Runner) stopped.
Error launching application on iPhone (3).
2 解决方法: 添加两个路径
/usr/bin/swift
/usr/lib/swift


边栏推荐
猜你喜欢

技术管理 - 学习/实践

GUI application: socket network chat room

Asahi Kasei participated in the 5th China International Import Expo (5th ciie) for the first time

MySQL 索引和事务

6-5 vulnerability exploitation SSH weak password cracking and utilization

Redis: order collection Zset type data operation command

Developing mqtt access program under QT

qt下开发mqtt的访问程序

软件设计文档示例模板 - 学习/实践

Correct the classpath of your application so that it contains a single, compatible version of com. go
随机推荐
Developing mqtt access program under QT
RPC - grpc simple demo - learn / practice
Kivy tutorial custom fonts (tutorial with source code)
YoloV6实战:手把手教你使用Yolov6进行物体检测(附数据集)
Redis: order collection Zset type data operation command
附件六:防守工作简报.docx
A beautiful API document generation tool
Emlog user registration plug-in is worth 80 yuan
【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装
Exploration and practice of eventbridge in the field of SaaS enterprise integration
Precautions for accompanying driving these 23 points should be paid attention to!
The five pictures tell you: why is there such a big gap between people in the workplace?
附件三:防守方评分标准.docx
最长递增子序列问题(你真的会了吗)
GUI 应用:socket 网络聊天室
附件六:防守工作簡報.docx
Create ASM disk through DD
"Don't care too much about salary when looking for a job", this is the biggest lie I've ever heard
Unity中RampTex介绍和应用: 溶解特效优化
Operate the server remotely more gracefully: the practice of paramiko Library