Hi there,
I am experiencing trouble working with AVPlayerViewController
, but already using plain AVPlayer
(both referenced in AVKit
) in the same project without problems.
The issue is the following: If I try to instantiate AVPlayerViewController
(as simple as var avp = new AVPlayerViewController()
) the App crashes with an SIGABRT and the error message “Could not create an native instance of the type 'AVKit.AVPlayerViewController': the native class hasn't been loaded.“. The detailed stacktrace is attached below.
I have no idea how to work around this issue, a search around the net was not very helpful. The only thing I know, is that the generated error is quite common when you mess up in self-made bindings.
Anyone an idea, what the issue could be?
best regards,
Felix