问题描述
我最近将 xcode 升级到 12.5,以便在新的 ios 14.5.x 上进行测试,不幸的是,由于以下错误,我无法再编译我的项目:
Undefined symbols for architecture arm64:
"Swift._ArrayBuffer._copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.IndexingIterator<Swift._ArrayBuffer<A>>,Swift.Int)",referenced from:
generic specialization <serialized,Swift._ArrayBuffer<Swift.Int8>> of Swift._copyCollectionToContiguousArray<A where A: Swift.Collection>(A) -> Swift.ContiguousArray<A.Element> in AppDelegate.o
它似乎与我在项目中使用的 ZIPFoundation.framework 相关联:如果我注释掉库的使用,我可以编译得很好。
我正在使用(很高兴)版本 0.9.9,但我什至尝试升级到 0.9.12(最新版本)甚至是 https://github.com/weichsel/ZIPFoundation 的最新 git 代码,但没有任何效果
请注意,我可以在发布版中进行编译,这只是在 xcode12.5 上失败的调试版本
我发现其他人在使用新的 xcode here、here 和 here 时感叹类似的问题(特别是对本机应用程序做出反应)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)