Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Home › Forums › Ask the Flomies › Phonegap plugin fails to build
Tagged: Build Error, Flomio SDK 2.1, PhoneGap
Hello Flomies,
I’m endeavoring to use your Cordova plugin. I’ve augmented the plug-in files with the headers and library from the SDK 2.0, but when I build with Phonegap Build, I receive the following message:
Undefined symbols for architecture arm64:
“_OBJC_CLASS_$_MPMusicPlayerController”, referenced from:
objc-class-ref in libSDKClasses.a(FTAudioSession.o)
ld: symbol(s) not found for architecture arm64
Interestingly, the arm7 linking proceeds without error. The problem appears to be localised to arm64.
AIUI, arm64 inclusion is a prerequisite for acceptance into app store.
Any thoughts?
Thanks
— Ian
Hi Ian, the error is due to an improperly packaged SDK2.0 bundle. We have since updated our archiving configurations in our latest beta release of SDK2.1. You can download it here and try that if you like. There are some API changes so please refer to the README file in order to avoid confusion. We’re scheduled to officially release SDK2.1 on August 13th.
best,
Richard
Hi Richard,
Many thanks for your swift reply.
I’m now getting this:
/project/flo1/Plugins/com.flomio.sdk/FlomioPlugin.m:167:25: error: no visible @interface for ‘FmDevice’ declares the selector ‘getDataBlocks’
Any thoughts?
Cheers
— Ian
Hi Ian, yeah that’s an issue on our side. The SDK API has evolved and the Cordova plugin has yet to be updated to reflect SDK2.1. Please post an issue on the Github issue list and Stuart will correct that. Make sure to reference this thread in your submission.
thanks,
Richard
Done, thanks Richard. Impressively quick responses !
You must be logged in to reply to this topic.