-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 build fails on Ventura #1212
Comments
I've found some other historical bug reports and discussions with this issue, but so far none of them have not turned up any solutions that have worked in my case. It may be (probably is?) relevant for me to mention now that I'm thinking about it, that I installed the command line software dev tools through the command line, not the GUI, via the following process:
This was done prior to XCode itself being installed. I am working on this machine remotely and don't have physical access to it. Repeatedly asking the on-prem person to add/remove/update different packages is a somewhat annoying and slow process, so I've tried to do what I can to install things from the command line. XCode itself was installed yesterday via physical in-person access as I could not find a way to do that on the command line. One thing I wanted to mention is that the file in the error above, |
Have reinstalled both Xcode and the command line utilities via the GUI installer and issue remains. I went so far as to delete my |
Figured out the issue by looking at the Contrary to the documentation, you need to do more than just add the Leaving this open in the hopes it's seen and the documentation updated. |
FWIW I've even written some Swift stuff, but all in Xcode, and this tripped me up with a CLI :) +1 to putting it in the README as a "can't hurt". |
Build Information
OSX v13.3.1
Xcode 14.3 Build version 14E222b
Swift 5.8
Integrated via swift package manager according to example in documentation
General guidelines
A simple two line program with
import SQLite
anddb = try Connection(.....)
, initially generated viaswift package init --type executable
, fails to build withswift build
resulting in the following output:Disclaimer
I am an experienced developer in general, and a long time user of *nix operating systems, but an absolute newbie when using OSX and I've never touched Swift before.
The text was updated successfully, but these errors were encountered: