Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Linker error for architecture arm64 #6

Closed
danho322 opened this issue Jan 11, 2018 · 5 comments
Closed

Linker error for architecture arm64 #6

danho322 opened this issue Jan 11, 2018 · 5 comments

Comments

@danho322
Copy link

I'm trying to integrate BPMAnalyser into my project and am running into this roadblock. I'm having a hard time adding the Superpowered library correctly. I've added the Superpowered bridging header to my bridging header, and have added the libSuperpoweredAudioIOS.a to my linked frameworks, but still get the following error:
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_Superpowered", referenced from: objc-class-ref in BMPAnalyzer.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Luccifer
Copy link
Owner

You should recompile that lib for all archs you need, cause I am not sure it was done by me.. You can download Superpower, compile it for all archs you need and than copy-paste .o lib in project

@danho322
Copy link
Author

Do I then paste the .o lib into the DerivedData folder?

@Luccifer
Copy link
Owner

If you build all others for arm64, than yeah, why not

@danho322
Copy link
Author

I just tried integrating from scratch again, and was successfully. It seemed to be the way I copied over the Superpower directory. Instead of adding and selecting the folder references, I selected the Create Groups option instead. That seemed to do the trick, although I don't fully understand it.

@Luccifer
Copy link
Owner

It's one of plenty possible solutions, glad you found a suitable one! Feel free to ask any questions!

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

No branches or pull requests

2 participants