Thursday, 15 May 2014

ios - Can't add libDeezer.a: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_DeezerConnect" -



ios - Can't add libDeezer.a: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_DeezerConnect" -

i'm trying utilize deezer sdk ios. have tried add together libdeezer.a target > build pases > link binary libraries did not work , said : `undefined symbols architecture x86_64: "_objc_class_$_deezerconnect"``

then tried whith pods pod 'deezer'but problem is:

undefined symbols architecture armv7: "_objc_class_$_afjsonrequestserializer", referenced from: objc-class-ref in womtotalmanager.o "_objc_metaclass_$_afhttpsessionmanager", referenced from: _objc_metaclass_$_womtotalmanager in womtotalmanager.o "_objc_class_$_afjsonresponseserializer", referenced from: objc-class-ref in womtotalmanager.o "_objc_class_$_afhttpsessionmanager", referenced from: _objc_class_$_womtotalmanager in womtotalmanager.o ld: symbol(s) not found architecture armv7

is there conflict between deezer , afnetworking ?

edit

solve target > build settings > build active architecture only set no in both project , pods project

edit 2

git commit, close , re-open xcode. error

undefined symbols architecture i386: "_objc_class_$_afhttpsessionmanager", referenced from: _objc_class_$_womtotalmanager in womtotalmanager.o "_objc_class_$_afjsonrequestserializer", referenced from: objc-class-ref in womtotalmanager.o "_objc_class_$_afjsonresponseserializer", referenced from: objc-class-ref in womtotalmanager.o "_objc_metaclass_$_afhttpsessionmanager", referenced from: _objc_metaclass_$_womtotalmanager in womtotalmanager.o ld: symbol(s) not found architecture i386

the first error can come deezer ios sdk not back upwards x86_64 (nor armv7s or arm64). 2 other errors come pod , project configuration.

you mention set target > build settings > build active architecture only setting on debug configuration. may problem. seek set yes.

hope helps.

ios deezer

No comments:

Post a Comment