How to fix Linking Error; SoundCloud iOS API -
How to fix Linking Error; SoundCloud iOS API -
i writing ios app uses soundcloud api. when seek build barebones project, receive linker error:
undefined symbols architecture x86_64: "_objc_class_$_scsoundcloud", referenced from: objc-class-ref in soundcloudplumbing.o
i followed setup steps on https://developers.soundcloud.com/docs/api/ios-quickstart#installation starting "install sdk , dependencies" through "authentication." created objective-c file soundcloudplumbing.m next code (clientid, secret, , projectname changes privacy reasons)
#import <foundation/foundation.h> #import <soundcloudapi/scapi.h> void initializesoundcloud(){ [scsoundcloud setclientid:@"heresaclientid" secret:@"heresasecret" redirecturl:[nsurl urlwithstring:@"projectname://oauth"]]; }
i have tried creating new app , refollowing setup instructions. same error. know how prepare this?
ios soundcloud
Comments
Post a Comment