You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a dummy Swift package so that I can edit my code in VS Code or vim with coc/sourcekit_lsp etc. XCode is bad enough at the best of times, and this bug makes it barely usable. By creating a Package.swift and getting a successful build by tricking the swift compiler with some flags I should be able to get live error reporting and completion etc in VS Code. I had this working once before in an iOS-only app, but I can't get it to work with KMM.
but then I get this: error: multiple targets named 'GCshared' in: 'gcios', 'swiftpackage'; consider using the moduleAliases parameter in manifest to provide unique names.
The text was updated successfully, but these errors were encountered:
Honestly I'm not an expert of how swift package works. But, did you try making your own Package.swift instead of just running ./gradlew createSwiftPackage?
I'm trying to make a dummy Swift package so that I can edit my code in VS Code or vim with coc/sourcekit_lsp etc. XCode is bad enough at the best of times, and this bug makes it barely usable. By creating a Package.swift and getting a successful build by tricking the swift compiler with some flags I should be able to get live error reporting and completion etc in VS Code. I had this working once before in an iOS-only app, but I can't get it to work with KMM.
If, in my Package.swift, I only use
I get
all over the place. I tried adding:
but then I get this:
error: multiple targets named 'GCshared' in: 'gcios', 'swiftpackage'; consider using the
moduleAliasesparameter in manifest to provide unique names
.The text was updated successfully, but these errors were encountered: