Skip to content

Support XCSkipTests under Mac Catalyst - #724

Open
fhasse95 wants to merge 1 commit into
skiptools:mainfrom
fhasse95:maccatalyst-xcskiptests
Open

Support XCSkipTests under Mac Catalyst#724
fhasse95 wants to merge 1 commit into
skiptools:mainfrom
fhasse95:maccatalyst-xcskiptests

Conversation

@fhasse95

@fhasse95 fhasse95 commented Aug 18, 2026

Copy link
Copy Markdown

This PR adds Mac Catalyst support to the Xcode Gradle test harness so XCSkipTests can be launched from Mac Catalyst test targets.

Since the JVM cannot load native libraries from Catalyst frameworks, the harness now performs a macOS host build of the tested package before invoking Gradle. It then passes the resulting SwiftPM build output directory to skip-ffi, allowing Robolectric to load the macOS host dylibs instead of the Catalyst framework binaries.

Related PRs:


Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

AI was used to help identify the Catalyst/Robolectric host-library issue and draft the changes. Afterwards, I manually reviewed the code and verified the affected XCSkipTests from a Mac Catalyst test target.


@cla-bot cla-bot Bot added the cla-signed Automatically-added indication of a signed Contributor License Agreement label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Automatically-added indication of a signed Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant