Migrate from swiftklib to native Kotlin SwiftPM import#4
Draft
Migrate from swiftklib to native Kotlin SwiftPM import#4
Conversation
Co-authored-by: markst <274318+markst@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate usage of swiftklib to new kotlin SwiftPM import
Migrate from swiftklib to spm4Kmp for Swift/Kotlin interop
Feb 22, 2026
Co-authored-by: markst <274318+markst@users.noreply.github.com>
Co-authored-by: markst <274318+markst@users.noreply.github.com>
Copilot
AI
changed the title
Migrate from swiftklib to spm4Kmp for Swift/Kotlin interop
Migrate from swiftklib to native Kotlin SwiftPM import
Feb 22, 2026
666599d to
f5a651b
Compare
Owner
|
Seems I'm unable to run radioplayer-kt % ./gradlew radioplayer:integrateEmbedAndSign
Reusing configuration cache.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':radioplayer:generateSyntheticLinkageSwiftPMImportProjectForLinkageForCli'.
> Cannot query the value of task ':radioplayer:generateSyntheticLinkageSwiftPMImportProjectForLinkageForCli' property 'syntheticImportProjectRoot' because it has no value available.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 332ms
Configuration cache entry reused.radioplayer-kt % ./gradlew radioplayer:integrateLinkagePackage
Reusing configuration cache.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':radioplayer:generateSyntheticLinkageSwiftPMImportProjectForLinkageForCli'.
> Cannot query the value of task ':radioplayer:generateSyntheticLinkageSwiftPMImportProjectForLinkageForCli' property 'syntheticImportProjectRoot' because it has no value available.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 332ms
Configuration cache entry reused. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the third-party
swiftklibplugin with native Kotlin SwiftPM import support introduced in Kotlin2.4.0-titan-214.Configuration Changes
packages.jetbrains.team/maven/p/kt/dev2.0.21→2.4.0-titan-214, remove swiftklibBuild Script Migration
Import Namespace Change
Framework changed to dynamic (
isStatic = false) per SwiftPM integration requirements.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.