Skip to content

Conversation

@gyfelton
Copy link
Contributor

@gyfelton gyfelton commented May 15, 2025

New config to help downstream project exclude slices from xcframework to reduce # of targets to build.
Right now rules_ios don't support visionos so need to remove it.
also update CI to make job green gain. Removed integration test that we should fix later if needed.
Specify ruby version to 2.7 as a test gem called bacon does not seem to support ruby v3 anymore

@gyfelton gyfelton force-pushed the new-xcframework-exclude-platform-option branch from 38e7eb3 to 5ab5b9a Compare May 15, 2025 16:16
@gyfelton gyfelton changed the title New feature New xcframework_excluded_platforms option to help remove slices to compile as needed May 15, 2025
@gyfelton gyfelton requested a review from thiagohmcruz May 15, 2025 16:23
@gyfelton gyfelton marked this pull request as ready for review May 15, 2025 16:23
Comment on lines +43 to +44
# TODO: add back integration once we can fix its dep on rules_ios
task spec: %w[spec:unit]
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the issue with the integration tests? I was about to suggest adding a test for this (i.e. something that exercises excluding one platform) but IIUC we're disabling such tests in this PR. Is that correct?

If that's the case can you file an issue and link the issue here so there's more context to fix this in a follow up?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

filed an issue here: #94

@gyfelton gyfelton merged commit 85ca1d9 into master May 15, 2025
1 check passed
@gyfelton gyfelton deleted the new-xcframework-exclude-platform-option branch May 15, 2025 16:44
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