ios - Apple mach-o linker error -


these errors . have downloaded project github. don't understand these errors

https://github.com/mosheberman/mbcalendarkit

ld /users/swaroop/library/developer/xcode/deriveddata/mbcalendarkit-geotokkaaaikwrdezpghqegghtxl/build/products/debug-iphonesimulator/mbcalendarkittests.xctest/mbcalendarkittests normal x86_64     cd /users/swaroop/downloads/mbcalendarkit-master     export iphoneos_deployment_target=6.1     export path="/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"     /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator8.1.sdk -l/users/swaroop/library/developer/xcode/deriveddata/mbcalendarkit-geotokkaaaikwrdezpghqegghtxl/build/products/debug-iphonesimulator -f/users/swaroop/library/developer/xcode/deriveddata/mbcalendarkit-geotokkaaaikwrdezpghqegghtxl/build/products/debug-iphonesimulator -f/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator8.1.sdk/developer/library/frameworks -f/applications/xcode.app/contents/developer/library/frameworks -f/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/library/frameworks -f/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator8.1.sdk/developer/library/frameworks -filelist /users/swaroop/library/developer/xcode/deriveddata/mbcalendarkit-geotokkaaaikwrdezpghqegghtxl/build/intermediates/mbcalendarkit.build/debug-iphonesimulator/mbcalendarkittests.build/objects-normal/x86_64/mbcalendarkittests.linkfilelist -xlinker -objc_abi_version -xlinker 2 -framework xctest -fobjc-arc -fobjc-link-runtime -xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -xlinker -dependency_info -xlinker /users/swaroop/library/developer/xcode/deriveddata/mbcalendarkit-geotokkaaaikwrdezpghqegghtxl/build/intermediates/mbcalendarkit.build/debug-iphonesimulator/mbcalendarkittests.build/objects-normal/x86_64/mbcalendarkittests_dependency_info.dat -o /users/swaroop/library/developer/xcode/deriveddata/mbcalendarkit-geotokkaaaikwrdezpghqegghtxl/build/products/debug-iphonesimulator/mbcalendarkittests.xctest/mbcalendarkittests  undefined symbols architecture x86_64:   "_cgcontextaddlinetopoint", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_cgcontextclearrect", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_cgcontextfillpath", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_cgcontextmovetopoint", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_cgcontextrestoregstate", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_cgcontextsavegstate", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_cgrectcontainspoint", referenced from:       -[ckcalendarheaderview taphandler:] in ckcalendarheaderview.o       -[ckcalendarview pointinside:withevent:] in ckcalendarview.o   "_cgrectgetheight", referenced from:       -[ckcalendarcell setframe:] in ckcalendarcell.o       -[ckcalendarview layoutsubviewsanimated:] in ckcalendarview.o   "_cgrectgetmaxy", referenced from:       -[ckcalendarview layoutsubviewsanimated:] in ckcalendarview.o   "_cgrectgetwidth", referenced from:       -[ckcalendarcell setframe:] in ckcalendarcell.o   "_cgrectzero", referenced from:       -[ckcalendarview _rectforcellsfordisplaymode:] in ckcalendarview.o   "_cgsizezero", referenced from:       -[ckcalendarcell applycolorsforstate:] in ckcalendarcell.o   "_objc_class_$_calayer", referenced from:       objc-class-ref in ckcalendarview.o   "_objc_class_$_ckdemoviewcontroller", referenced from:       objc-class-ref in ckappdelegate.o   "_objc_class_$_uiapplication", referenced from:       objc-class-ref in ckcalendarview.o   "_objc_class_$_uibarbuttonitem", referenced from:       objc-class-ref in ckcalendarviewcontrollerinternal.o   "_objc_class_$_uicolor", referenced from:       objc-class-ref in nsstring+color.o       objc-class-ref in uicolor+hexstring.o       l_objc_$_category_uicolor_$_hexstring in uicolor+hexstring.o       objc-class-ref in uiview+border.o       objc-class-ref in ckcalendarcell.o       objc-class-ref in ckcalendarheaderview.o       objc-class-ref in ckcalendarview.o       ...   "_objc_class_$_uifont", referenced from:       objc-class-ref in ckcalendarcell.o       objc-class-ref in ckcalendarheaderview.o   "_objc_class_$_uiimage", referenced from:       objc-class-ref in ckcalendarview.o   "_objc_class_$_uiimageview", referenced from:       objc-class-ref in mbpolygonview.o   "_objc_class_$_uilabel", referenced from:       objc-class-ref in ckcalendarcell.o       objc-class-ref in ckcalendarheaderview.o   "_objc_class_$_uilongpressgesturerecognizer", referenced from:       objc-class-ref in mbpolygonview.o   "_objc_class_$_uinavigationcontroller", referenced from:       _objc_class_$_ckcalendarviewcontroller in ckcalendarviewcontroller.o   "_objc_class_$_uiresponder", referenced from:       _objc_class_$_ckappdelegate in ckappdelegate.o   "_objc_class_$_uiscreen", referenced from:       objc-class-ref in mbpolygonview.o       objc-class-ref in ckappdelegate.o   "_objc_class_$_uisegmentedcontrol", referenced from:       objc-class-ref in ckcalendarviewcontrollerinternal.o   "_objc_class_$_uitableview", referenced from:       objc-class-ref in ckcalendarview.o   "_objc_class_$_uitableviewcell", referenced from:       objc-class-ref in ckcalendarview.o   "_objc_class_$_uitapgesturerecognizer", referenced from:       objc-class-ref in ckcalendarheaderview.o   "_objc_class_$_uiview", referenced from:       objc-class-ref in uiview+animatedframe.o       l_objc_$_category_uiview_$_animatedframe in uiview+animatedframe.o       l_objc_$_category_uiview_$_border in uiview+border.o       _objc_class_$_ckcalendarcell in ckcalendarcell.o       objc-class-ref in ckcalendarcell.o       _objc_class_$_ckcalendarheaderview in ckcalendarheaderview.o       objc-class-ref in ckcalendarview.o       ...   "_objc_class_$_uiviewcontroller", referenced from:       _objc_class_$_ckcalendarviewcontrollerinternal in ckcalendarviewcontrollerinternal.o   "_objc_class_$_uiwindow", referenced from:       objc-class-ref in ckappdelegate.o   "_objc_metaclass_$_uinavigationcontroller", referenced from:       _objc_metaclass_$_ckcalendarviewcontroller in ckcalendarviewcontroller.o   "_objc_metaclass_$_uiresponder", referenced from:       _objc_metaclass_$_ckappdelegate in ckappdelegate.o   "_objc_metaclass_$_uiview", referenced from:       _objc_metaclass_$_ckcalendarcell in ckcalendarcell.o       _objc_metaclass_$_ckcalendarheaderview in ckcalendarheaderview.o       _objc_metaclass_$_ckcalendarview in ckcalendarview.o       _objc_metaclass_$_mbpolygonview in mbpolygonview.o   "_objc_metaclass_$_uiviewcontroller", referenced from:       _objc_metaclass_$_ckcalendarviewcontrollerinternal in ckcalendarviewcontrollerinternal.o   "_uiapplicationmain", referenced from:       _main in main.o   "_uigraphicsbeginimagecontextwithoptions", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_uigraphicsendimagecontext", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_uigraphicsgetcurrentcontext", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o   "_uigraphicsgetimagefromcurrentimagecontext", referenced from:       -[mbpolygonview polyimage] in mbpolygonview.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) 

first change deployment target of project in xcode 7.0 or later comment lines if code in project in swiftdemoviewcontroller.swift
override init() {

    self.data = nsmutabledictionary()     super.init() } 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -