-
Notifications
You must be signed in to change notification settings - Fork 3
Detect library type by file extension (xcframework) #73
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
Conversation
cbc1ec7 to
7cae0de
Compare
|
What is the reason for this change? |
@tomaszklak It's not possible to create an xcframework with a static and shared lib with the current |
7cae0de to
2ed0a06
Compare
Please add this information to the commit. |
Currently is not possible to create a xcframework with a static and shared lib. This commit adds library type detection through the file extension. This requires that the file extension match the library type for the respective target.
2ed0a06 to
d0a7289
Compare
|
Your comments made me realize that the solution was not robust enough, I've refactored to tackle your concerns. |
tomaszklak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
sfraczek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 thanks
There's currently no support for xcframework assembly with mixed library types (static/shared).
This PR adds automatic detection based on the binary extensions that are provided on the dist/ directory.
(breaking change)