-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linker Error message when compiling with xCode 8 when using Carthage #227
Comments
I got this error when using Carthage. The only way I found around this for now is to drag the XLPagerTabStrip project into my workspace and link XLPagerTabStrip.framework to my project. |
Yes I got this using Carthage as well. |
I am experiencing this issue as well. @Rekubot suggestion works but the best approach. Appears to be related to missing symbols for a specific architecture. As I am trying to compile my application using
|
I am having this issue as well. Any ideas? |
+1 |
@mtnbarreto @mats-claassen Any ideas on this one? |
I tried installing |
Yes, I've updated the Carthage to see if it will fix the issue, rebuild the packages but still got this when compiling the project. |
@mats-claassen Thank you for your suggestion. Indeed, I had an old version of Carthage installed. However, I still run into the issue even after updating to Carthage 0.18. I have a mixed Swift/ObjC-Project, maybe that's an issue... |
I came across this issue now, when actually using a PagerTabStripController. I fixed it in fix/containerView branch but I am not sure my solution does not break other things. I would suggest you try using that branch. I had seen this issue in another framework where "there were no symbols for a lazy variable". I suspect it might be a Swift error but I did not find a related radar... |
@mats-claassen Thank you so much, I will try it out as soon as I can. I looked at your commit and I don't believe it would break something. Is there any chance that this will get merged and packaged into a 6.0.1 release? |
@mats-claassen I still have my errors: |
@mats-claassen My guess is, that this fix has to be implemented for |
Does this mean we cannot use lazy variables anymore? |
Great guys, appreciated you are taking the time to look into this. |
The strange thing I that when you add to our own project it all happily compiles. Only when it's an external framework it fails to work. |
Exactly. The examples project works for example. So there should really be nothing wrong with the code |
This issue is so weird 😔 Maybe, it's a Carthage thing. It currently stops me from using Swift 3 in my project which is so sad. |
let me look into it. |
@MichalAlgor @Rekubot @weyert @rzulkoski @raphaklr |
@mtnbarreto I tested it and I can confirm that it works now! Thank you so much for your time. Any chance that this gets merged soon? |
@mtnbarreto Yes, working for me too. Great thank you! |
Hi
I'm using version form Swift3 branch and when I try to compile with xCode 8 I got:
"direct field offset for XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarView.storage in _0CF27031E34C35EB5EAF50A7E0F72A93) : XLPagerTabStrip.ButtonBarView!?", referenced from: XLPagerTabStrip.ButtonBarPagerTabStripViewController.buttonBarView.setter : XLPagerTabStrip.ButtonBarView! in PGMediaContainerViewController.o
How can I get rid of this error so the compilation will finish with success ?
The text was updated successfully, but these errors were encountered: