Skip to content

Conversation

@lcruz99
Copy link
Contributor

@lcruz99 lcruz99 commented Dec 11, 2025

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)

@lcruz99 lcruz99 force-pushed the LLT-6772_add_mixed_xcframework_support branch from cbc1ec7 to 7cae0de Compare December 11, 2025 12:09
@tomaszklak
Copy link
Collaborator

What is the reason for this change?

@lcruz99
Copy link
Contributor Author

lcruz99 commented Dec 15, 2025

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 create_xcframework().

@lcruz99 lcruz99 force-pushed the LLT-6772_add_mixed_xcframework_support branch from 7cae0de to 2ed0a06 Compare December 15, 2025 12:41
@tomaszklak
Copy link
Collaborator

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 create_xcframework().

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.
@lcruz99 lcruz99 force-pushed the LLT-6772_add_mixed_xcframework_support branch from 2ed0a06 to d0a7289 Compare December 16, 2025 13:31
@lcruz99
Copy link
Contributor Author

lcruz99 commented Dec 16, 2025

@sfraczek @tomaszklak

Your comments made me realize that the solution was not robust enough, I've refactored to tackle your concerns.

Copy link
Collaborator

@tomaszklak tomaszklak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link

@sfraczek sfraczek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 thanks

@lcruz99 lcruz99 merged commit 684ed58 into main Dec 17, 2025
34 of 53 checks passed
@lcruz99 lcruz99 deleted the LLT-6772_add_mixed_xcframework_support branch December 17, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants