Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/158.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xamarin.ios MonoTouch 4.0链接器失败_Xamarin.ios - Fatal编程技术网

Xamarin.ios MonoTouch 4.0链接器失败

Xamarin.ios MonoTouch 4.0链接器失败,xamarin.ios,Xamarin.ios,我刚刚升级到MonoTouch 4.0,当链接器行为设置为“仅链接SDK assmeblies”时出现此错误。有人对此有办法吗 Error 1: mtouch failed with the following message: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at MTouch.LinkAssemblies (Sys

我刚刚升级到MonoTouch 4.0,当链接器行为设置为“仅链接SDK assmeblies”时出现此错误。有人对此有办法吗

Error 1: mtouch failed with the following message:

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MTouch.LinkAssemblies (System.String main, System.Collections.Generic.List`1& assemblies) [0x00000] in <filename unknown>:0
at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0   (1)
错误1:mtouch失败,出现以下消息:
未处理的异常:System.NullReferenceException:对象引用未设置为对象的实例
在:0中的MTouch.LinkAssemblies(System.String main、System.Collections.Generic.List`1和assemblies)[0x00000]处
在0(1)中的MTouch.Main(System.String[]args)[0x00000]处

找出了问题所在。我正在为第三方obj-c库使用绑定,出于某种原因,当MonoTouch 4.0无法使用时,从很久以前运行btouch输出的.dll。我不得不再次运行btouch来获得一个新的binding.dll。现在很有魅力。

请在感谢Geoff提供的服务中提交一个带有示例的bug。见下面的答案。您介意评论一下为什么这可以解决这个问题吗?它可能引用了在BCL中移动的类型,如果您可以归档它,我们可以找出原因并修复它:)