UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Some packages don’t load in Swift Playgrounds 4

Forums > Swift

Hi All

I am prototyping a new App in Swift Playgrounds 4.

Sometimes when I attempt to add a new package to the project, Swift Playgrounds just will not load it. You see a brief message "Fetching Versions ...", then nothing.

For example, this happens on the package here: https://github.com/apple/swift-markdown

My guess is there is something missing in the configuration of the project but I am at a loss as to what to do to fix it ... if for instance I made my own fork.

Thanks for any suggestions

4      

Hmmmm

I went through all of the forks for the project until I found one that loaded

https://github.com/kkla320/swift-markdown

Swift Playgrounds 4 now gives me the message The target type "Clang Target" is not supported 😢

Is this going to ba another feature of the App I cannot work on in Swift Playgrounds?

3      

I've experienced this same trouble. Has anyone found it's resolve?

Similar issue regarding a password-protected package. https://developer.apple.com/forums/thread/701369

2      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.