objective c - not found for architecture i386 iOS -


i finding following error while trying run project ios charts library. code works fine on simulator when running on iphone5 , ipad2 build fails iphone6 , above:

undefined symbols architecture i386:   "_objc_class_$__ttc6charts12barchartdata", referenced from:       objc-class-ref in smwbarchartsviewcontroller.o       objc-class-ref in smwbargraphviewcontroller.o   "_objc_class_$__ttc6charts12piechartdata", referenced from:       objc-class-ref in smwpiechartsviewcontroller.o   "_objc_class_$__ttc6charts15barchartdataset", referenced from:       objc-class-ref in smwbarchartsviewcontroller.o       objc-class-ref in smwbargraphviewcontroller.o   "_objc_class_$__ttc6charts15piechartdataset", referenced from:       objc-class-ref in smwpiechartsviewcontroller.o   "_objc_class_$__ttc6charts17barchartdataentry", referenced from:       objc-class-ref in smwbarchartsviewcontroller.o       objc-class-ref in smwpiechartsviewcontroller.o       objc-class-ref in smwbargraphviewcontroller.o ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation) 

i have been able solve issue. included arm64 in valid architecture. problem was trying integrate library existing objective c project. earlier using core plot. core plot files creating problem. if core plot files included then, not include arm64 in valid architecture due crashed on iphone6. removed core plot files , started working smoothly.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -