Skip to content
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

Android support #70

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Android support #70

wants to merge 5 commits into from

Conversation

marcprux
Copy link

@marcprux marcprux commented Mar 29, 2025

Motivation

This package wasn't building on Android, causing various dependent packages to also fail to build.

Modifications

Add the necessary import(Android) to successfully build.

Result

The package can now be built for Android.

Test Plan

Added CI to build and run against an Android emulator using swift-android-action.

@guoye-zhang guoye-zhang added the 🔨 semver/patch No public API change. label Mar 29, 2025
Copy link
Member

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

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

Thanks for opening this PR. At this point we can't take this PR until we get an officially published Android toolchain from swift.org. See swiftlang/github-workflows#106 (comment).

My hope is the Android WG together with the Platforms Steering Group can sort this out soon and we can add Android CI to all of our repos.

@simonjbeaumont simonjbeaumont added the status/blocked Waiting for another issue. label Mar 31, 2025
Copy link
Collaborator

@simonjbeaumont simonjbeaumont left a comment

Choose a reason for hiding this comment

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

Given @FranzBusch's message, I'll mark this as blocked for now. But thanks for taking the time to make the updates!

@marcprux
Copy link
Author

How about if I remove the CI but leave in the fix for Lock.swift? It's just a one-line conditional import that will prevent build failures for dependent packages that are trying to build for Android. Similar PRs have been accepted by numerous other apple repos…

@FranzBusch
Copy link
Member

How about if I remove the CI but leave in the fix for Lock.swift? It's just a one-line conditional import that will prevent build failures for dependent packages that are trying to build for Android. Similar PRs have been accepted by numerous other apple repos…

Yes please. Happy to take patches that fix Android!.

@marcprux
Copy link
Author

I've removed the CI.

@czechboy0 czechboy0 removed the status/blocked Waiting for another issue. label Apr 1, 2025
@czechboy0
Copy link
Contributor

@FranzBusch can you update your review? I'd prefer not to have to admin merge here :)

@simonjbeaumont simonjbeaumont enabled auto-merge (squash) April 1, 2025 10:54
@simonjbeaumont simonjbeaumont disabled auto-merge April 2, 2025 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants