Skip to content
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

framework not found Metal for architecture armv7 #2

Open
livingbeams opened this issue Oct 22, 2014 · 6 comments
Open

framework not found Metal for architecture armv7 #2

livingbeams opened this issue Oct 22, 2014 · 6 comments

Comments

@livingbeams
Copy link

I get this linker error trying to build a project in Xcode 5.1.1

I've tryed the indications in:
http://www.appsee.com/blog/dev/xcode-new-link-frameworks-automatically-fix-framework-not-found-metal-for-architecture-armv7

Disabling the option "Link Framworks Automatically" doesn't remove the linker error.

I've also tryied to enable the "Enable Modules (C and Objective-C)" option, as indicated in another article, but it neither works.

@vedi
Copy link
Owner

vedi commented Oct 22, 2014

if you remove -ObjC flag, does linker error disappear?

@livingbeams
Copy link
Author

Yes, removing the -ObjC flag makes the error to disappear, but then if the SahreBunch.cs script is loaded in the project a runntime error is generated at the call:
UIApplicationMain(arg ....
in main.mm

libc++abi.dylib: terminating with uncauht exception of type NSException

@vedi
Copy link
Owner

vedi commented Oct 22, 2014

ok, let's try the following:

  1. go to Other Linker Flags
  2. remove -ObjC
  3. add -force_load "$(SRCROOT)/Libraries/libShareBunch.a"

We just apply the same rules, but for only library, not globally.

I hope it will help.

@livingbeams
Copy link
Author

Thanks for your answer.

With the flag -force_load "$(SRCROOT)/Libraries/libShareBunch.a"
I get the same linker error again.

@vedi
Copy link
Owner

vedi commented Nov 17, 2014

@livingbeams, have you managed to solve the issue?

@livingbeams
Copy link
Author

No, I couldn't find out how to solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants