真机运行报错
来源:8-4 轮播图Banner功能开发【使用轮子】
慕丝0054743
2020-01-02
老师您好,在iphone真机上运行会产生如下错误
dyld: Library not loaded: @rpath/Flutter.framework/Flutter
Referenced from: /private/var/containers/Bundle/Application/829E7C20-18DA-4190-910F-80EF40A42784/Runner.app/Runner
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/829E7C20-18DA-4190-910F-80EF40A42784/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for ‘/private/var/containers/Bundle/Application/829E7C20-18DA-4190-910F-80EF40A42784/Runner.app/Frameworks/Flutter.framework/Flutter’
写回答
1回答
-
CrazyCodeBoy
2020-01-03
如果APP已经安装,将已经安装的APP卸载
用xcode打开项目然后clean下在运行;
如果还是有问题可以使用下flutter clean清一下缓存,再试。
00
相似问题