swift - No such module 'DownPicker' Cocoapods -
all other similar questions did not solve problem.so decided ask own . have opened xcworkspace file correctly . here podfile:
# uncomment line define global platform project # platform :ios, '8.0' # uncomment line if you're using swift use_frameworks! target 'washandshine' pod ‘downpicker’,git : https://github.com/darkseal/downpicker end target 'washandshinetests' end target 'washandshineuitests' end
here bridging header file , don't know how import .m file.is problem?
#ifndef header_h #define header_h #import "downpicker.h" //#import "downpicker.m" #import "uidownpicker.h" //#import "uidownpicker.m" #endif /* header_h */
but still says no such module after building ? have done wrong? tried reinstalling still same thing . thing might cause fail in opinion downpicker written in objective c. post combobox component swift (failed downpicker) looks work on swift.
you should import in swift bridging header file.
Comments
Post a Comment