It was choking on an enumeration, which I would assume is ultimately
an int. Is that still something that would be fixed where you suggest,
or is there a different issue.
On Mar 17, 11:07 am, Demis Bellot <
demis.bel...@gmail.com> wrote:
> Yeah iOS/MonoTouch doesn't allow JIT and your code looks like it's
> executing a code path that requires JIT, this normally happens when you try
> to call a generic method.
>
> The idea is to tell MonoTouch upfront what generic methods/classes it needs
> to create upfront so it can pre-compile the support it needs at the AOT
> stage so it doesn't need it at runtime. This is where I try adding all the
> generic calls SS.Text needs up front:
https://github.com/ServiceStack/ServiceStack.Text/blob/master/src/Ser...
> > ServiceStack.Text.Common.DeserializeType`1[ServiceStack.Text.Json.JsonTypeS erializer].GetParseMethod
> > (System.Type type) [0x00000] in <filename unknown>:0
> > at
>
> > ServiceStack.Text.Common.JsReader`1[ServiceStack.Text.Json.JsonTypeSerializ er].GetParseFn[GolfCourse]
> > () [0x00000] in <filename unknown>:0
> > at
>
> > ServiceStack.Text.Json.JsonReader`1[Thirsty.ServiceModel.Types.GolfCourse]. .cctor
> > () [0x00000] in <filename unknown>:0
> > --- End of inner exception stack trace ---
> > at ServiceStack.Text.Json.JsonReader.GetParseFn (System.Type type)
> > [0x00000] in <filename unknown>:0
> > at ServiceStack.Text.Json.JsonTypeSerializer.GetParseFn (System.Type
> > type) [0x00000] in <filename unknown>:0
> > at
>
> > ServiceStack.Text.Common.DeserializeType`1[ServiceStack.Text.Json.JsonTypeS erializer].GetParseMethod
> > (System.Type type) [0x00000] in <filename unknown>:0
> > at
>
> > ServiceStack.Text.Common.JsReader`1[ServiceStack.Text.Json.JsonTypeSerializ er].GetParseFn[GolfCourseResponse]
> > () [0x00000] in <filename unknown>:0
> > at
>
> > ServiceStack.Text.Json.JsonReader`1[Thirsty.ServiceModel.Types.GolfCourseRe sponse]..cctor
> > () [0x00000] in <filename unknown>:0
> > --- End of inner exception stack trace ---
> > at
> > ServiceStack.Text.JsonSerializer.DeserializeFromString[GolfCourseResponse]
> > (System.String value) [0x00000] in <filename unknown>:0
> > at
> > ServiceStack.Text.JsonSerializer.DeserializeFromStream[GolfCourseResponse]
> > (System.IO.Stream stream) [0x00000] in <filename unknown>:0
> > at
>
> > ServiceStack.ServiceModel.Serialization.JsonDataContractDeserializer.Deseri alizeFromStream[GolfCourseResponse]