美文网首页
xcode26报错

xcode26报错

作者: 开发者老岳 | 来源:发表于2025-10-22 18:08 被阅读0次

项目突然报错,代码没任何改动,之前正常,无法编译:

Showing Recent Issues Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility50 
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility51 
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility56
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency 
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements 
Linker command failed with exit code 1 (use -v to see invocation)

网上已经有解决方案:
https://github.com/actions/runner-images/issues/13135

我个人的情况是,下载过 xcode 的一个Metal相关的库后便开始报错,删除这个库就正常运行了。

相关文章

网友评论

      本文标题:xcode26报错

      本文链接:https://www.haomeiwen.com/subject/nqzhxstx.html