{"action":"created","issue":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross-Plugins/issues/10","labels_url":"https://api.github.com/repos/MvvmCross/MvvmCross-Plugins/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/MvvmCross/MvvmCross-Plugins/issues/10/comments","events_url":"https://api.github.com/repos/MvvmCross/MvvmCross-Plugins/issues/10/events","html_url":"https://github.com/MvvmCross/MvvmCross-Plugins/issues/10","id":106312725,"number":10,"title":"DownloadCache and iOS 9 issue","user":{"login":"luigisaggese","id":1014210,"avatar_url":"https://avatars.githubusercontent.com/u/1014210?v=3","gravatar_id":"","url":"https://api.github.com/users/luigisaggese","html_url":"https://github.com/luigisaggese","followers_url":"https://api.github.com/users/luigisaggese/followers","following_url":"https://api.github.com/users/luigisaggese/following{/other_user}","gists_url":"https://api.github.com/users/luigisaggese/gists{/gist_id}","starred_url":"https://api.github.com/users/luigisaggese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigisaggese/subscriptions","organizations_url":"https://api.github.com/users/luigisaggese/orgs","repos_url":"https://api.github.com/users/luigisaggese/repos","events_url":"https://api.github.com/users/luigisaggese/events{/privacy}","received_events_url":"https://api.github.com/users/luigisaggese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-14T10:21:43Z","updated_at":"2015-09-23T23:52:36Z","closed_at":null,"body":"I have this error on compiling my project including DownloadCache Plugin:\r\n\r\n\t\tLinking SDK only for assembly /Users/luigi.saggese/Projects/myapp/myapp/bin/iPhone/Debug//myapp.exe into /Users/luigi.saggese/Projects/myapp/myapp/obj/iPhone/Debug/mtouch-cache/PreBuild\r\nMTOUCH: error MT2001: Could not link assemblies. Reason: Can't not find the nested type '<<.ctor>b__2c>d__34' in 'Cirrious.MvvmCross.Plugins.DownloadCache.MvxFileDownloadCache/Timer/<>c__DisplayClass2f\r\n\t\t--- inner exception\r\n\t\tSystem.InvalidOperationException: Can't not find the nested type '<<.ctor>b__2c>d__34' in 'Cirrious.MvvmCross.Plugins.DownloadCache.MvxFileDownloadCache/Timer/<>c__DisplayClass2f\r\n\t\t  at Mono.Cecil.TypeParser.TryGetDefinition (Mono.Cecil.ModuleDefinition module, Mono.Cecil.Type type_info, Mono.Cecil.TypeReference& type) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.TypeParser.GetTypeReference (Mono.Cecil.ModuleDefinition module, Mono.Cecil.Type type_info) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.TypeParser.ParseType (Mono.Cecil.ModuleDefinition module, System.String fullname) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.SignatureReader.ReadTypeReference () [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.SignatureReader.ReadCustomAttributeElementValue (Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.SignatureReader.ReadCustomAttributeElement (Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.SignatureReader.ReadCustomAttributeFixedArgument (Mono.Cecil.TypeReference type) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.SignatureReader.ReadCustomAttributeConstructorArguments (Mono.Cecil.CustomAttribute attribute, Mono.Collections.Generic.Collection`1 parameters) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.MetadataReader.ReadCustomAttributeSignature (Mono.Cecil.CustomAttribute attribute) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.CustomAttribute.<Resolve>m__1 (Mono.Cecil.CustomAttribute attribute, Mono.Cecil.MetadataReader reader) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.ModuleDefinition.Read[CustomAttribute,CustomAttribute] (Mono.Cecil.CustomAttribute item, System.Func`3 read) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.CustomAttribute.Resolve () [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Cecil.CustomAttribute.get_HasConstructorArguments () [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.MarkCustomAttributeArguments (Mono.Cecil.CustomAttribute ca) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.MarkCustomAttribute (Mono.Cecil.CustomAttribute ca) [0x00000] in <filename unknown>:0 \r\n\t\t  at Xamarin.Linker.Steps.MobileMarkStep.MarkCustomAttribute (Mono.Cecil.CustomAttribute ca) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.MarkCustomAttributes (ICustomAttributeProvider provider) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 \r\n\t\t  at Xamarin.Linker.Steps.CoreMarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.Process () [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n\t\t  at Xamarin.Linker.Steps.MobileMarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n\t\t  at Xamarin.Linker.Steps.CoreMarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Tuner.MonoTouchMarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n\t\t  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Tuner.Linker.Process (MonoTouch.Tuner.LinkerOptions options, MonoTouch.Tuner.MonoTouchLinkContext& context, System.Collections.Generic.List`1& assemblies) [0x00000] in <filename unknown>:0 \r\n\t\t---\r\n\t\t  at MonoTouch.Tuner.Linker.Process (MonoTouch.Tuner.LinkerOptions options, MonoTouch.Tuner.MonoTouchLinkContext& context, System.Collections.Generic.List`1& assemblies) [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Target.LinkAssemblies (System.String main, System.Collections.Generic.List`1& assemblies, System.String output_dir, MonoTouch.Tuner.MonoTouchLinkContext& link_context) [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Target.ManagedLink () [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Target.ProcessAssemblies () [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Application.BuildApp () [0x00000] in <filename unknown>:0 \r\n\t\t  at MonoTouch.Application.Build () [0x00000] in <filename unknown>:0 \r\n\t\t  at MTouch.Main2 (System.String[] args) [0x00000] in <filename unknown>:0 \r\n\t\t  at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 \r\n\tTask \"MTouch\" execution -- FAILED\r\n\tDone building target \"_CompileToNative\" in project \"/Users/luigi.saggese/Projects/myapp/myapp h/myapp.csproj\".-- FAILED\r\n\t\r\nDone building project \"/Users/luigi.saggese/Projects/myapp/myapp/myapp.csproj\".-- FAILED\r\n\r\nBuild FAILED.\r\n\r\nThis is my environment:\r\n\r\n=== Xamarin Studio ===\r\n\r\nVersion 5.9.6 (build 65)\r\nInstallation UUID: \r\nRuntime:\r\n\tMono 4.0.4 ((detached/cb6d6b2)\r\n\tGTK+ 2.24.23 (Raleigh theme)\r\n\r\n\tPackage version: 400040002\r\n\r\n=== Apple Developer Tools ===\r\n\r\nXcode 6.4 (7720)\r\nBuild 6E35b\r\n\r\n=== Xamarin.iOS ===\r\n\r\nVersion: 9.0.0.40 (Indie Edition)\r\nHash: b35a59b\r\nBranch: master\r\nBuild date: 2015-09-11 01:33:00-0400\r\n\r\n=== Xamarin.Android ===\r\n\r\nVersion: 5.1.6.7 (Indie Edition)\r\nAndroid SDK:\r\n\tSupported Android versions:\r\n\t\t2.3    (API level 10)\r\n\t\t4.0.3  (API level 15)\r\n\t\t4.1    (API level 16)\r\n\t\t4.2    (API level 17)\r\n\t\t4.3    (API level 18)\r\n\t\t4.4    (API level 19)\r\n\t\t4.4.87 (API level 20)\r\n\t\t5.0    (API level 21)\r\n\t\t5.1    (API level 22)\r\nJava SDK: /usr\r\njava version \"1.7.0_71\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_71-b14)\r\nJava HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)\r\n\r\n=== Xamarin Android Player ===\r\n\r\nNot Installed\r\n\r\n=== Xamarin.Mac ===\r\n\r\nNot Installed\r\n\r\n=== Build Information ===\r\n\r\nRelease ID: 509060065\r\nGit revision:\r\nBuild date: 2015-09-10 13:03:15-04\r\nXamarin addins:\r\n\r\n=== Operating System ===\r\n\r\nMac OS X 10.10.5\r\nDarwin \r\n    Wed Jul 29 02:26:53 PDT 2015\r\n    root:\r\n\r\nI have removed some private info."},"comment":{"url":"https://api.github.com/repos/MvvmCross/MvvmCross-Plugins/issues/comments/142763199","html_url":"https://github.com/MvvmCross/MvvmCross-Plugins/issues/10#issuecomment-142763199","issue_url":"https://api.github.com/repos/MvvmCross/MvvmCross-Plugins/issues/10","id":142763199,"user":{"login":"whitewolf33","id":4328043,"avatar_url":"https://avatars.githubusercontent.com/u/4328043?v=3","gravatar_id":"","url":"https://api.github.com/users/whitewolf33","html_url":"https://github.com/whitewolf33","followers_url":"https://api.github.com/users/whitewolf33/followers","following_url":"https://api.github.com/users/whitewolf33/following{/other_user}","gists_url":"https://api.github.com/users/whitewolf33/gists{/gist_id}","starred_url":"https://api.github.com/users/whitewolf33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitewolf33/subscriptions","organizations_url":"https://api.github.com/users/whitewolf33/orgs","repos_url":"https://api.github.com/users/whitewolf33/repos","events_url":"https://api.github.com/users/whitewolf33/events{/privacy}","received_events_url":"https://api.github.com/users/whitewolf33/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T23:52:36Z","updated_at":"2015-09-23T23:52:36Z","body":"Can confirm that this issue is no longer present with \r\n\r\nMac OS Version Details\r\n\r\nMac OS 10.10.5, \r\nXamarin Studio Version 5.9.7 (build 9) , \r\nXamarin IOS 9.0.1.20, and \r\nMvvmCross Cirrious.MvvmCross.Plugins.DownloadCach v3.5.1. \r\n\r\nPC Version details (if using Business Edition)\r\nVS 2013 \r\nXamarin  3.11.1443.0\r\nXamarin.IOS 9.0.1.0\r\n\r\nI suggest anyone with this issue to update to Xamarin.IOS 9.0.1.20 \r\n\r\nDo not forget to Clean and Rebuild if you still experience this"}}