Xlpagertabstrip: Problem with swift3.0 and XLPagerTabStrinp 6.0.0

Created on 13 Oct 2016  路  10Comments  路  Source: xmartlabs/XLPagerTabStrip

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?", referenced from:
XLPagerTabStrip.ButtonBarPagerTabStripViewController.buttonBarItemSpec.setter : XLPagerTabStrip.ButtonBarItemSpec in ViewController.o
XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarItemSpec.materializeForSet : XLPagerTabStrip.ButtonBarItemSpec).(closure #1) in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

issue

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

All 10 comments

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BasantAshraf picture BasantAshraf  路  13Comments

keyhan76 picture keyhan76  路  25Comments

MahmoudTarek picture MahmoudTarek  路  13Comments

Raymond26 picture Raymond26  路  14Comments

bdrelling picture bdrelling  路  14Comments