gpt4 book ai didi

xamarin.ios - monotouch mtouch 失败,无输出 (134)

转载 作者:行者123 更新时间:2023-12-04 06:32:01 27 4
gpt4 key购买 nike

我正在尝试将我的 monotouch 应用程序加载到我的 iphone,并且在编译为 native 代码时出现以下异常:

Could not link assemblies: Mono.Linker.ResolutionException: Can not resolve reference: System.Void System.ComponentModel.TypeDescriptionProviderAttribute::.ctor(System.Type)
at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.MarkCustomAttribute (Mono.Cecil.CustomAttribute ca) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.MarkCustomAttributes (ICustomAttributeProvider provider) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.MarkType (Mono.Cecil.TypeReference reference) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.MarkField (Mono.Cecil.FieldReference reference) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.InitializeFields (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.InitializeType (Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.InitializeAssembly (Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.Initialize () [0x00000] in <filename unknown>:0
at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
at MonoTouch.Tuner.Linker.Run (Mono.Linker.Pipeline pipeline, Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0

最佳答案

您添加了一些桌面程序集作为引用,该引用未针对使用未提供类型的单点触控配置文件进行编译。重建你对 monotouch 的所有依赖项。

关于xamarin.ios - monotouch mtouch 失败,无输出 (134),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5282711/

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