-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Swift Package Manager support broken? #7630
Comments
Hey, So it seems that the version you are trying to pick doesn't match the current tag within the repository. The minimum version that supports this is v22.9.29. i would also suggest using |
(Sorry if I'm being a bit thick, I'm new-ish to iOS dev, even though I'm now doing it full-time) Yup, I switched from v2.0.8 -> v22.10.26 and an "exact version" in XCode and the SPM import looks good now: I also switched to manually grabbing the pre-built But, it seems that the Am I just being thick here with some other piece of XCode SPM setup required here? (btw, thanks for the very quick response time!) |
@gibssa So i'm not sure what's exactly happening here. There might be multiple issues: |
It shouldn't it should just work directly. flatbuffers.movWould it be possible to put this project on Github and share it here? or at least an example project similar to it with the same issue? |
Hahah welcome to Xcode, where it never works the same 😄 Did you create your project through xcode earlier? and was it the latest xcode when you created it? |
Hm, honestly I can't remember. I think I created my current version of this Xcode project around August, but I remember following instructions to manually download (the latest) Xcode app binary from https://apple.com instead of the macOS App Store because of a bug in Xcode at the time... 🤷 🤷 |
All done re-creating my project with FlatBuffers. Chalking this one up to Xcode shenanigans. Thanks @mustiikhalil for the fast help! |
Hi FlatBuffers team,
I see #7548 from September 2022 that moved
Package.swift
into root.But, it seems like Swift Package Manager support is currently broken despite the change?
Or is the current solution still to pull the Git repo and symlink to source manually?
Thanks for taking a look!
The text was updated successfully, but these errors were encountered: