yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.88k stars 809 forks source link

Xcode 15 local swift packages support #1396

Open yarneo opened 10 months ago

yarneo commented 10 months ago

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?

clausjoergensen commented 10 months ago

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

yarneo commented 10 months ago

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

giovannitrezzi commented 6 months ago

Any news on this?

yonaskolb commented 3 months ago

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 https://github.com/tuist/XcodeProj/pull/799

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