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

Can Not Import in Swift Playgrounds 4 on iPad #1115

Closed
MoSchaub opened this issue Dec 16, 2021 · 4 comments
Closed

Can Not Import in Swift Playgrounds 4 on iPad #1115

MoSchaub opened this issue Dec 16, 2021 · 4 comments
Labels

Comments

@MoSchaub
Copy link

In Swift Playgrounds 4 you can now create apps and this includes using Swift Packages via SPM. So I tried importing this Package by tapping on the icon with the doc and the plus and next swift package. Next I pasted https://github.com/groue/GRDB.swift into the textField in the modal sheet and I hit enter and it shows the error: "package has no version tags".
I hope my description is accurate enough to reproduce. I tried other packages and they seem to work fine. I also tried the url: https://github.com/groue/GRDB.swift.git instead. This results in the exact same error message

@groue
Copy link
Owner

groue commented Dec 17, 2021

Hello @MoSchaub,

GRDB had version tags before the Swift package manager was invented 😉

I'm sorry you can't use GRDB from the promising Swift Playgrounds 4, but there's nothing I can do. Please report the problem to Apple, at https://feedbackassistant.apple.com, with the same accurate description of your problem. Maybe mention that this lib has version tags, and works fine with SPM on Xcode.

@groue groue closed this as completed Dec 17, 2021
@groue groue added the support label Dec 17, 2021
@groue groue pinned this issue Dec 18, 2021
@sena-mike
Copy link

It seems the issue is that Swift Playgrounds 4 is not able to handle releases with a v prefix, e.g. v5.17.0. I was able to work around this by forking and pushing a tag with 5.17.0.

@groue
Copy link
Owner

groue commented Dec 25, 2021

Didn't you meet this error message, @sena-mike?

The target type, "systemModule", is not supported

https://twitter.com/damienpetrilli/status/1472144736983134211?s=21

@sena-mike
Copy link

Just noticing that now. Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants