FashGek / hotween

Automatically exported from code.google.com/p/hotween
0 stars 0 forks source link

Not compatible with iOS #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
by zcycool:

When I compiled on iPhone, I got error messages like this:

ExecutionEngineException: Attempting to JIT compile method 'Member:.ctor ()' 
while running with --aot-only.

at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
Rethrow as TargetInvocationException: Exception has been thrown by the target 
of an invocation.
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, 
System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) 
[0x00000] in <filename unknown>:0 
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) 
[0x00000] in <filename unknown>:0 
at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename 
unknown>:0 
at System.Reflection.Assembly.CreateInstance (System.String typeName, Boolean 
ignoreCase) [0x00000] in <filename unknown>:0 
at System.Reflection.Assembly.CreateInstance (System.String typeName) [0x00000] 
in <filename unknown>:0 
at FastDynamicMemberAccessor.MemberAccessor.EnsureIni t () [0x00000] in 
<filename unknown>:0 
at FastDynamicMemberAccessor.MemberAccessor.Get (System.Object target) 
[0x00000] in <filename unknown>:0 
at Holoville.HOTween.Plugins.Core.ABSTweenPlugin.GetV alue () [0x00000] in 
<filename unknown>:0 
at Holoville.HOTween.Plugins.Core.ABSTweenPlugin.Init 
(Holoville.HOTween.Tweener p_tweenObj, System.String p_propertyName, EaseType 
p_easeType, System.Type p_targetType, System.Reflection.PropertyInfo 
p_propertyInfo, System.Reflection.FieldInfo p_fieldInfo) [0x00000] in <filename 
unknown>:0 
at Holoville.HOTween.TweenParms.InitializeObject (Holoville.HOTween.Tweener 
p_tweenObj, System.Object p_target) [0x00000] in <filename unknown>:0 
at Holoville.HOTween.Tweener..ctor (System.Object p_target, Single p_duration, 
Holoville.HOTween.TweenParms p_parms) [0x00000] in <filename unknown>:0 
at Holoville.HOTween.HOTween.To (System.Object p_target, Single p_duration, 
Holoville.HOTween.TweenParms p_parms) [0x00000] in <filename unknown>:0 
at HOTweenTest.Move () [0x00000] in <filename unknown>:0 
at HOTweenTest.Start () [0x00000] in <filename unknown>:0

Original issue reported on code.google.com by daniele....@gmail.com on 18 Jan 2012 at 12:42

GoogleCodeExporter commented 9 years ago
iOS compatibility is not possible, because iOS AOT compilation doesn't support 
Reflection. Using an alternative solution to Reflection would break HOTween's 
full object-oriented behaviour, thus I prefer to leave it like this.
Anyway, I'll go on looking for possible solutions that might come out in the 
future.

Original comment by daniele....@gmail.com on 19 Jan 2012 at 1:49

GoogleCodeExporter commented 9 years ago
Re-opened. Working on it.

Original comment by daniele....@gmail.com on 19 Jan 2012 at 5:01

GoogleCodeExporter commented 9 years ago

Original comment by daniele....@gmail.com on 19 Jan 2012 at 5:01

GoogleCodeExporter commented 9 years ago
Fixed in version 0.8.005

Original comment by daniele....@gmail.com on 20 Jan 2012 at 2:47