SvenTiigi / WhatsNewKit

Showcase your awesome new app features 📱
https://sventiigi.github.io/WhatsNewKit/
MIT License
3.92k stars 193 forks source link

Cannot Add a package dependency #56

Closed DogandElk closed 2 years ago

DogandElk commented 2 years ago

WhatsNewKit Environment

What did you do?

I attempted to add a package dependency in Xcode for a SwiftUI project but the url you provided is not recognized

DogandElk commented 2 years ago

I also attempted to navigate to the Xcode project then select Swift Packages, then clicked the “+” icon and searched for WhatsNewKit. But it could now be found.

SvenTiigi commented 2 years ago

Hi @DogandElk,

Could you please provide a repo where the described issue can be reproduced?

I've tested on my side and wasn't able to reproduce the issue.

Bildschirmfoto 2022-05-16 um 19 53 47 Bildschirmfoto 2022-05-16 um 19 53 56
DogandElk commented 2 years ago

I finally went to the git repo and copied that URL and I was able to add the package. I then was able to get it to work after struggling with error after error to get it to work in SwiftUI 3 and Xcode 13.3.1. I also see that you have cases instead of a single sheet. Do you have example code for that ? Thanks !