Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

about --aot-only error, please help

$
0
0

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


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>