System.ExecutionEngineException: Attempting to JIT compile method 'JPush.Bindings.iOS.JPUSHRegisterEntity:.ctor ()' while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.
.h header files is
@interface JPUSHRegisterEntity : NSObject
@property (nonatomic, assign) NSInteger types;
@property (nonatomic, strong) NSSet *categories;
@end
and my apidefines
// @interface JPUSHRegisterEntity : NSObject
[BaseType(typeof(NSObject))]
interface JPUSHRegisterEntity
{
// @property (assign, nonatomic) NSInteger types;
[Export("types")]
nint Types { get; set; }
// @property (nonatomic, strong) NSSet * categories;
[Export("categories", ArgumentSemantic.Strong)]
NSSet Categories { get; set; }
}
when i use JPUSHRegisterEntity entity = new JPUSHRegisterEntit
the error is System.ExecutionEngineException: Attempting to JIT compile method 'JPush.Bindings.iOS.JPUSHRegisterEntity:.ctor ()' while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.
how can i fix it