-
Notifications
You must be signed in to change notification settings - Fork 449
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
Redefinition of module 'minizip' #70
Comments
Happening here as well. Exactly the same issue, using Zip inside a library, fails because minzip is either missing or duplicated. So +1 |
I solved it in an extremely ugly way which I discourage everybody, in your case @mostafaberg
And going to the modulemap where minzip is, and removing it. Looking for a good solution on this as well as this is a horrible patch. Is minzip being added to some header search path or similar build settings? I can't think of anything reasonable. |
@vCrespoP Actually this is the only way to do it right now, you can automate it by creating a run script build step. I might get sometime to fix this, but this is surely breaking for anyone using |
Does anyone know why XCode is looking in the |
Closing my issue to avoid unnecessary noise, my solution at that time was to simply not track CocoaPods and things will work out of the box. @idris This is a question to ask on the Carthage page :) |
So this is a new interesting issue in a library that I'm trying to get fixed, It's a combination of the Zip framework and how Carthage works I'd say, but thought of seeing what's your opinion, here's how the issue reproduces:
acme/greatLib
Cartfile
withmarmelroy/Zip
as the dependencycarthage update --platform iOS
, things looks great and the library works as it should.acme/greatLib
, the contents ofcartfile
will beacme/greatLib
carthage update --platform iOS
on that new projectgreatLib
andZip
insideCarthage/Checkouts
Zip
first from checkout dirgreatLib
from it's checkout dirgreatLib
now has it's ownCarthage/Checkout
directory withZip
checked out in there again (this is how most libraries work with carthage, expected behaviour)Copying
Zip.framework
andgreatLib.framework
into the new project works ok, but the project will fail due to 'minizip.modulemap' has been defined twice, one time in theZip/
checkout, and another time ingreatLib/Carthage/Checkouts/Zip/
I'm kind of baffled on how to fix this, do you have any ideas ?
If nothing is resolvable here I might post the question to Carthage's issues to see if there's any feedback
for reference, here is the actual error code:
Any tips would be appreciated :)
The text was updated successfully, but these errors were encountered: