xcode - Cordova 3.5 iOS Compile Error -
i upgraded phonegap project cordova 3.5 , can't compile app anymore. here output xcode:
undefined symbols architecture armv7: "_objc_class_$_cdvfile", referenced from: objc-class-ref in cdvcapture.o (maybe meant: _objc_class_$_cdvfiletransfer, _objc_class_$_cdvfiletransferentitylengthrequest , _objc_class_$_cdvfiletransferdelegate ) "_objc_class_$_cdvfilesystemurl", referenced from: objc-class-ref in cdvfiletransfer.o "_cgimagedestinationcreatewithurl", referenced from: -[readerthumbrender main] in readerthumbrender.o "_cgimagedestinationaddimage", referenced from: -[readerthumbrender main] in readerthumbrender.o "_objc_class_$_cmmotionmanager", referenced from: objc-class-ref in iphone_sensors.o objc-class-ref in cdvaccelerometer.o objc-class-ref in libqcar.a(libqcar.a-armv7-master.o) "_cgimagedestinationfinalize", referenced from: -[readerthumbrender main] in readerthumbrender.o "_cgimagesourcecreatewithurl", referenced from: -[readerthumbfetch main] in readerthumbfetch.o "_cgimagesourcecreateimageatindex", referenced from: -[readerthumbfetch main] in readerthumbfetch.o ld: symbol(s) not found architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)
i thought maybe linker flag libcordova.a off doesn't seem problem. can point me in right direction?
had similar problem now.
in project > targets
settings go build phases > compile sources
, add *.m
files under plugins
directory. should solve problem.
Comments
Post a Comment