BPM-Analyser icon indicating copy to clipboard operation
BPM-Analyser copied to clipboard

Cannot access the swift class

Open knobKompressor opened this issue 5 years ago • 2 comments

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 avatar May 24 '20 09:05 knobKompressor

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 avatar May 24 '20 09:05 knobKompressor

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.

knobKompressor avatar May 24 '20 10:05 knobKompressor