Comments (4)
homebrew's installer has a scriptable way to deploy CLT.pkg
https://github.com/Homebrew/install/blob/master/install.sh#L813
from macpin.
just calling git
on a stock macOS install will try to get CLT installed: https://apple.stackexchange.com/a/304101
so that's a plus
from macpin.
I didn't document it yet, but CLT is insufficient.
It has a swift-package binary at /Library/Developer/CommandLineTools/usr/bin/swift-package
if you invoke that with build, or just run swift build
, you'll get this on stderr:
error: terminated(72): /usr/bin/xcrun --sdk macosx --find xctest output:
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH
this also shows up when running make
to just show basic infos, so eXcode.mk is finding the right swift bins, they just don't don't want to do anything beyond basic compile invokes.
maybe upstream will un-eff this xctest issue: apple/swift-package-manager#4396
(more context https://forums.swift.org/t/pitch-standardise-swift-cli-across-all-platforms/46672)
if I try to workaround that, I get this:
$ ln -s /usr/bin/true ~/bin/xctest
$ /Library/Developer/CommandLineTools/usr/bin/swift-package build
'macpin': error: invalidManifestFormat("/Users/joey/src/MacPin/Package.swift:2:8: error: no such module \'PackageDescription\'\nimport PackageDescription\n ^", diagnosticFile: nil)
from macpin.
well, maybe I can use https://github.com/yonaskolb/XcodeGen to automate the unpleasantness of maintaining an Xcode project
from macpin.
Related Issues (20)
- Cannot build HOT 1
- Build error
- Download status
- support Packages/ using SPM (Swift Package Manager)
- Xcode 8 Support? HOT 7
- Maverick support? HOT 4
- Google Maps search broken HOT 17
- implement host redirection via in-app VPN or socket-filter HOT 2
- Can only build some sites HOT 4
- Logo Design HOT 1
- refine "sites" / extensions packaging HOT 1
- Example of multi-tab app? HOT 2
- Multi-tab app, with notifications. HOT 1
- Crashes in Catalina 10.15.2 (19C57) HOT 3
- Default download location? HOT 1
- rects(forCharacterRange:) & Catalina HOT 1
- Will not compile on Big Sur HOT 2
- Remove automator extras
- Rewrite iconify in swift
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macpin.