New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Load Framework AVKit #434

Open
mmatulevich opened this Issue Apr 3, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@mmatulevich

mmatulevich commented Apr 3, 2015

When attempting to use the AVKit framework in version Monobjc-6.0.2744.0, the application crashes when calling the method
ObjectiveCRuntime.LoadFramework("AVKit");
which throws a Monobjc.ObjectiveCException with the message "Failed to load framework AVKit."

@letiemble

This comment has been minimized.

Show comment
Hide comment
@letiemble

letiemble Jun 11, 2015

Member

The AVKit framework is only available as a 64 bits binary:

file /System/Library/Frameworks/AVKit.framework/AVKit

If you try to reference it into a 32 bits application, the loading will fail with the error you have reported.

Are you using it in a 64 bits application ?

Member

letiemble commented Jun 11, 2015

The AVKit framework is only available as a 64 bits binary:

file /System/Library/Frameworks/AVKit.framework/AVKit

If you try to reference it into a 32 bits application, the loading will fail with the error you have reported.

Are you using it in a 64 bits application ?

@mmatulevich

This comment has been minimized.

Show comment
Hide comment
@mmatulevich

mmatulevich Jun 12, 2015

Do you have any examples of using the AVKit with Monobjc?  I am using the latest Xamarin Studio and Mono Framework with the MonoDevelop Addin for Monobjc.  I am not quite sure where to make the correct setting(s) to make sure the application is built as 64-bit using the set of tools listed.  Any help or guidance you can provide would be greatly appreciated.  Thank you.  On 06/11/15, Laurent Etiemblenotifications@github.com wrote: The AVKit framework is only available as a 64 bits binary:file /System/Library/Frameworks/AVKit.framework/AVKitIf you try to reference it into a 32 bits application, the loading will fail with the error you have reported.Are you using it in a 64 bits application ?—Reply to this email directly or view it on GitHub.

mmatulevich commented Jun 12, 2015

Do you have any examples of using the AVKit with Monobjc?  I am using the latest Xamarin Studio and Mono Framework with the MonoDevelop Addin for Monobjc.  I am not quite sure where to make the correct setting(s) to make sure the application is built as 64-bit using the set of tools listed.  Any help or guidance you can provide would be greatly appreciated.  Thank you.  On 06/11/15, Laurent Etiemblenotifications@github.com wrote: The AVKit framework is only available as a 64 bits binary:file /System/Library/Frameworks/AVKit.framework/AVKitIf you try to reference it into a 32 bits application, the loading will fail with the error you have reported.Are you using it in a 64 bits application ?—Reply to this email directly or view it on GitHub.

@Supert

This comment has been minimized.

Show comment
Hide comment
@Supert

Supert Jul 23, 2015

I have same problem with CorePlot framework. Even DatePlot sample app does not work.
There was no /System/Library/Frameworks/CorePlot.framework so I've copied binaries of it.
It did not help so I've tried to set project option "Build-Compilier-Platform target" to x86 (as well as to x64) with no luck either. Any help?

Supert commented Jul 23, 2015

I have same problem with CorePlot framework. Even DatePlot sample app does not work.
There was no /System/Library/Frameworks/CorePlot.framework so I've copied binaries of it.
It did not help so I've tried to set project option "Build-Compilier-Platform target" to x86 (as well as to x64) with no luck either. Any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment