yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xcode 15 local swift packages support

yarneo opened this issue · comments

As of Xcode 15 beta 5: "Adding a dependency to a Swift package on the filesystem (instead of a remote URL) now participates in up-front package verification, such as checking transitive dependencies for conflicting version requirements."

Also the local packages should now show where the remote package dependencies are.

Is this something xcodegen currently supports or can support?

You can already use path instead of url to use local Swift Packages

Yes I'm aware. It doesn't support though the new Xcode 15 features for these local swift packages. You'd need to add the XCLocalSwiftPackageReference definition in the .proj as well as adding the local package to packageReferences

Any news on this?

I don't know much about this but I assume this is new support that was added to XcodeProj in the newer 8.16.0 https://github.com/tuist/XcodeProj/releases/tag/8.16.0
tuist/XcodeProj#799

No one has picked up this work yet. Any volunteers?