8000 GitHub - johnno1962/swift-syntax: Binary .xcframeworks for swift-syntax.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

johnno1962/swift-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstantSyntax

610.0.1 binary frameworks for https://github.com/swiftlang/swift-syntax

Status 5/5/25: Rebuilt taking the above tag of the swift-syntax repo using Xcode 15.4 and seems to be working quite well using all Xcodes 15-16.

© https://xkcd.com/303/ - I compile swift-syntax so you don't have to.

Icon

This is a Swift Package containing precompiled static libraries inside binary .xcframeworks of the main modules of the swift-syntax project. It is intended this can be packaged up and used in place of the swift-syntax source repo by Swift Macro projects to avoid this problem people have experienced It operates by overriding the swift-syntax source repo pulled in by your macros.

TL;DR

This repo can be used one of two ways. You can add it as a top level dependency of your project in Xcode (referencing branch main rather than a tag) or, you can clone the repo to your local drive and drag it onto the top level of your project as you would to work on a Swift package as is documented here .

It works by replacing the dependency of your macros on the source repo of swift-syntax with this binary repo as they share the same "identity" (last path component of the URL or directory). This currently gives a warning during resolution which you can ignore.

If you still experience problems involving "duplicate copy commands being generated" when you try to build, try closing and reopening your project.

Use package_syntax.sh if you would like to rebuild from Apple's source. A huge thanks to repo https://github.com/swift-precompiled/swift-syntax which showed it was possible to package static libraries in .xcframeworks.

About

Binary .xcframeworks for swift-syntax.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0