作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我做了 flutter build iOS
并且我收到了这 3 个与 platform_strong.dill
文件相关的错误:
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
Building AOT snapshot in release mode (ios-release)...
Compiler message:
Error: SDK summary not found:
file:///Users/[myusername]/Documents/Documents/development/flutter/bin/ca
che/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill
.
Error: Error when reading
'file:///Users/[myusername]/Documents/Documents/development/flutter/bin/c
ache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dil
l': No such file or directory
Error: Error when reading
'file:///Users/[myusername]/Documents/Documents/development/flutter/bin/c
ache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dil
l': No such file or directory
它说文件不存在,但它是:
还有其他人遇到过这些错误吗?我将如何修复它们?我有最新的 flutter
和 Xcode 10.3。
最佳答案
删除缓存文件夹成功了! rm -fr flutter/bin/cache
。然后我运行 flutter build iOS
,所有与 platform_strong.dill
相关的错误都消失了。
关于ios - 修复与 platform_strong.dill 相关的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57704113/
我做了 flutter build iOS 并且我收到了这 3 个与 platform_strong.dill 文件相关的错误: Xcode's output: ↳ === BUILD TAR
我是一名优秀的程序员,十分优秀!