-
Notifications
You must be signed in to change notification settings - Fork 163
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
'libxml/xmlversion.h' file not found #104
Comments
Hello @Parabak |
@RomanPodymov, So far I didn't find a workaround. So please share solution, in case you find one. |
ABI compatibility is really just ensured by Apple that Fuzi does not really know about. Why is it absolutely necessary to use a binary built with earlier versions of Xcode with a project with newer Xcode version, given that you have all the source code and it only takes a few seconds to do a fresh build? |
Hi @cezheng, thanks for the reply! It there anything we can do about it? How Fuzi can be improved and is it possible at all? |
I don't think this is a Fuzi bug, but you should probably file a bug to Apple if this is important to you. |
Hi guys,
maybe you can help me to resolve my issue.
I'm using Fuzi in my framework for at least a year, it works great. I even did one PR previously.
Now I struggle with the following thing. Using cocoapods I integrate my framework compiled with Xcode 11.0 Swift 5.1 with the enabled flag 'Build Libraries for Distribution' to project written in Xcode 11.2 Swift 5.1.2. I expect that it should work because we have an ABI stability released. However, I have an error:
My Framework compiled in Xcode 11.2 with Swift 5.1.2 doesn't produce errors.
Part of my podspec:
The testing project has:
Other linker flags: -l"xml2"
Header Search Path: $(SDKROOT)/usr/include/libxml2
I can't understand the issue. Why it works for one version and doesn't work with another. Previously it was complaining that module was built with another Swift version, but 'Build Libraries for Distribution' flag looks like resolve it.
I also tried to find any hint in thread opened by @thebluepotato here: https://forums.swift.org/t/referring-to-libxml2-in-swift-package-description/28880 but failed.
I will appreciate any help. Thanks in advance!
Best regards,
Alex.
Environment
Package Manager:
Fuzi version: 3.1.1
Xcode version: 11.2
The text was updated successfully, but these errors were encountered: