I have a link error:
I use carthage:
github "xmartlabs/XLPagerTabStrip" == 6.0.0
(If I use carthage: github "xmartlabs/XLPagerTabStrip" == 5.1.0 and swift 2.3 is OK)
My example:
class ViewController: ButtonBarPagerTabStripViewController{
}
Undefined symbols for architecture x86_64:
"direct field offset for XLPagerTabStrip.PagerTabStripViewController.(containerView.storage in _003637BCF98C7C0D0B48098362580A1B) : __ObjC.UIScrollView!?", referenced from:
XLPagerTabStrip.PagerTabStripViewController.containerView.setter : __ObjC.UIScrollView! in ViewController.o
XLPagerTabStrip.PagerTabStripViewController.(containerView.materializeForSet : __ObjC.UIScrollView!).(closure #1) in ViewController.o
"direct field offset for XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarView.storage in _0CF27031E34C35EB5EAF50A7E0F72A93) : XLPagerTabStrip.ButtonBarView!?", referenced from:
XLPagerTabStrip.ButtonBarPagerTabStripViewController.buttonBarView.setter : XLPagerTabStrip.ButtonBarView! in ViewController.o
XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarView.materializeForSet : XLPagerTabStrip.ButtonBarView!).(closure #1) in ViewController.o
"direct field offset for XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarItemSpec.storage in _0CF27031E34C35EB5EAF50A7E0F72A93) : XLPagerTabStrip.ButtonBarItemSpec
XLPagerTabStrip.ButtonBarPagerTabStripViewController.buttonBarItemSpec.setter : XLPagerTabStrip.ButtonBarItemSpec
XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarItemSpec.materializeForSet : XLPagerTabStrip.ButtonBarItemSpec
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@miguelgutierrezhcd same error for me as well , i am using Carthage , but it will working fine using Cocopods , have you found any work around for this ?
@indrajitsinh No, I haven麓t found a solution with Carthage, and I麓d like to have it.
@miguelgutierrezhcd it's the only problem with Carthage , i tried with Cocopods and works fine, so for as of now i just mix Cocopods and Carthage once the issue resolved i delete Cocopods from project
I have the same issue
Same issue here, will try with CP instead.
I have same issue
Same issue
Same issue.
I'm having issue with Cocopods also
Hey @Albin-CR !
You are experiencing the exact same issue with cocoapods? If not could you elaborate a bit more, thanks !
Cheers
Most helpful comment
@miguelgutierrezhcd it's the only problem with Carthage , i tried with Cocopods and works fine, so for as of now i just mix Cocopods and Carthage once the issue resolved i delete Cocopods from project