-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issue with framework search paths #4
Comments
Just so I understand the problem... your project has Ogra as a dependency using carthage, but when you run Our of curiosity, why do you use the |
Sounds like you understand my problem.
This is partly so I can add dependencies as submodules (via Carthage/Carthage#177 may help with that, but I was already using the same workflow with submodules before Carthage came along, and this way I can treat Carthage as a nice wrapper around them. Also, apparently 3rd-party binary frameworks are tied to a specific version of Xcode and Swift. Lastly, it's in part because of this issue; if I use pre-built binaries, consumers of my framework with get warnings in the same way I am here. |
Like you, I also use I've just realised I would never see the warning because, even though I'm re-compiling my editable dependencies outside of the carthage build process, the |
@edwardaux I was wondering if we could arrive at a resolution here either way. If I were to submit a pull request with the relevant changes to support it, would you be opposed to using the |
I'm curious what changes would be in your PR. ie. I'm not sure what you'd change to fix it. |
Thanks @paulyoung. I will give it a crack today... it takes a bit of time for me to test because my main use case is convoluted: the Mac app (XXX) that I'm building embeds a common Framework (XXXFramework) that embeds Ogra that embeds Argo. |
That sounds similar to what I'm doing. |
Still trying to get some time to look at your PR, but I was wondering if something as simple (dumb?) as checking in an empty folder called |
That would prevent the warning but it would need to be done for every project that depends on Ogra in this way. |
Just to be clear, I was suggesting that that directory hierarchy be checked into the Ogra project. For example, your error message was:
The way I read that error message, is that it is looking the checked-out Ogra/Carthage/Build/Mac directory. If I created the directories under Ogra's Don't get me wrong... I'm happy to dig into your PR. I'm just making sure I've really understood the problem :) |
I see! My mistake. I suppose that would work, but doesn't that directory get populated with dependencies? The Carthage/Build/*
!Carthage/Build/iOS/.gitkeep
!Carthage/Build/Mac/.gitkeep You'd need to add a |
@paulyoung, sorry for taking so long to get back to you. I've finally had a chance to look at your PR (thanks!). My concern is that we're introducing changes that mean we're prescribing how people have to use Ogra just to silence a non-destructive warning for the set of I'm definitely leaning toward a solution that silences the warning. Is there any chance you could verify whether touching an empty |
I think this should only affect how people develop Ogra, and everything else stays the same.
I'm pretty sure it does, but I'll confirm. |
|
Just letting you know I haven't forgotten you 😄 You'd think that putting a
Through much trial and error, I found that if I remove the Argo submodule (ie. Anyway, I'm trying to get to the bottom of the ridiculous stack trace above. Bear with me. |
Which version of Carthage are you using? I was getting errors like that a couple of versions back. |
I was using 0.9.1 (which was also giving me some grief when I was testing to make sure that |
Might be worth discussing the issue here Carthage/Carthage#678 (comment) since |
@edwardaux any update on this? |
Unfortunately not. I spent hours and hours trying to figure out why Carthage falls in a heap, and unfortunately no-one has been able to shed any light on my post in the Carthage issue referenced above. However, I just noticed that Carthage has advanced a couple of versions. It is now at 0.11, and I had been trying at 0.9.4. Let me try tonight and see if that helps at all. |
Well, actually... upgrading to carthage 0.11 seems to have fixed it. I'd be interested to see what happens if you reference my |
Sorry for the delay on this. We've been focused on other things but this is definitely something we still want to resolve. |
Totally understand. No rush. |
@edwardaux Hi. Issue still exists. Branch is no longer compatible with Argo to test. |
I'm experiencing the same issue that I described in thoughtbot/Argo#121
Specifically, I see the following warnings when building a project that depends on Ogra:
I'm not sure how to resolve this other than to add a workspace and add the projects of dependencies there (Argo). This is the approach I usually take.
I'd be happy to submit a pull request to make these changes.
The text was updated successfully, but these errors were encountered: