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

Cannot access the swift class #10

Open
knobKompressor opened this issue May 24, 2020 · 2 comments
Open

Cannot access the swift class #10

knobKompressor opened this issue May 24, 2020 · 2 comments

Comments

@knobKompressor
Copy link

Hey, this is probably super simple, but how can I access the class from within my implementation?I have added the src to the project and copied over and set the bridge file to be built as well. Once I try to access BPMAnalyzer class it says there is none. I have tried building and restarting xcode to no avail.

I am also trying this on a macos app, can that be the issue?

@knobKompressor
Copy link
Author

actually, managed to move it up from the src folder and it seems to recognise it finally, however when building i get this:
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_Superpowered", referenced from:
objc-class-ref in BMPAnalyzer.o
ld: symbol(s) not found for architecture x86_64

@knobKompressor
Copy link
Author

ok sorry to be spamming, but this sue above was due to using newer superpowered libraries. I used the one included in the project and it reports that it cannot read file (wav 16/44.1), i tried updating the libraries from there including the header files, however the implementation is now different. they use Superpowered::decoder instead of superpoweredDecoder. I an not fluent in ObjC so probably going to skip this thing altogether.

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

1 participant