gpt4 book ai didi

ios - undefined symbol : type metadata for Swift. _StringObject.Variant,架构 armv7 的 undefined symbol - Xcode 12 Beta

转载 作者:行者123 更新时间:2023-12-01 15:23:12 31 4
gpt4 key购买 nike

我正在尝试通过 Xcode 12.0 beta 创建存档但它给了我这个错误。

Undefined symbols for architecture armv7:
"type metadata for Swift._StringObject.Variant", referenced from:
outlined init with take of Swift._StringObject.Variant in OpenGraph.Data.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbol: type metadata for Swift._StringObject.Variant
我找到了 this与该问题相关的帖子,但没有解决我的问题。我通过 Xcode 11.6 beta 创建了存档它没有给我那个错误,但现在苹果在上传二进制文件后给我发了那封电子邮件。
ITMS-90111: Invalid Toolchain - Your app was built with a beta version of Xcode or SDK. Apps submitted to the App Store must be built with the GM version of Xcode 10.1 and the SDK for iOS 12.1 and watchOS 5.1, Xcode 7.1 and the SDK for tvOS 9, or Xcode 6 and the SDK for macOS 10.9 or later. If you are using an Xcode beta version to test your app, make sure you are using the latest supported version.
谁能告诉我如何在不下载 Xcode 的稳定版本的情况下解决此问题.

最佳答案

您可以像 Yogesh 的回答那样显式转换为字符串。
另一种解决方案是将构建架构设置为仅 arm64(在“架构 -> 有效架构”中)。如果没有架构,则为 arm64 添加一个。
这是自第一个测试版以来 Xcode 12 中的一个错误。引用:Apple dev forum .

关于ios - undefined symbol : type metadata for Swift. _StringObject.Variant,架构 armv7 的 undefined symbol - Xcode 12 Beta,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62738600/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com