gpt4 book ai didi

c# - 更新到最新的 Xcode 和 VS 后,Xamarin ios 编译到 Iphone 失败

转载 作者:行者123 更新时间:2023-11-30 12:55:13 24 4
gpt4 key购买 nike

我有一个使用 XCardView 一段时间的项目。(我已经将该应用分发到应用商店。)我将 VS 和 XCode 都更新到了最新版本。

现在,当我在模拟器中执行我的项目时,一切正常。但是,当我尝试将其编译到设备时,操作失败并出现 3 个错误:

enter image description here

1:

Error: linker command failed with exit code 1 (use -v to see invocation)

2:

Error MT5211: Native linking failed, undefined Objective-C class: ZLSwipeableViewDelegate. The symbol '_OBJC_CLASS_$_ZLSwipeableViewDelegate' could not be found in any of the libraries or frameworks linked with your application. (MT5211)

3:

Error MT5202: Native linking failed. Please review the build log. (MT5202)

我读过 MT5211 link对于错误,但我不知道如何解决它,因为我没有 XCardView 库的源代码,并且在日志中我没有找到任何有趣的信息...

顺便说一句,我根本没有更改我的项目设置。

有什么办法可以解决这个问题吗?

提前致谢:)

编辑 1:

除了添加新的类文件外,我没有更改任何项目设置。这是我的项目配置文件:

enter image description here

编辑 2:

XCardView 是一个 Xamarin 组件。由于组件商店不再可用,因此可以找到整个组件 here

最佳答案

右键单击 ios 解决方案,您将看到 iOS 构建选项,您可以将链接器属性设置为仅从 SDK 链接。

关于c# - 更新到最新的 Xcode 和 VS 后,Xamarin ios 编译到 Iphone 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50786049/

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