我做了 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/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |