XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Xcode 15 local swift packages support

Open yarneo opened this issue 2 years ago • 4 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?

yarneo avatar Aug 31 '23 11:08 yarneo

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

clausjoergensen avatar Sep 09 '23 19:09 clausjoergensen

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

yarneo avatar Sep 11 '23 07:09 yarneo

Any news on this?

giovannitrezzi avatar Dec 13 '23 11:12 giovannitrezzi

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?

yonaskolb avatar Apr 07 '24 13:04 yonaskolb

Released in 2.42.0

yonaskolb avatar Jul 11 '24 11:07 yonaskolb