bielikb / xcframeworks

Demonstration of creating and integrating xcframeworks and their co-op with static libraries and Swift packages
MIT License
536 stars 46 forks source link

Distributing XCFramework via SPM #5

Closed Parabak closed 4 years ago

Parabak commented 4 years ago

Hi Boris,

Swift 5.2 was released recently and if I got it right, distributing XCFramework via SPM was part of changes here. Do you know something about it? How I should format Swift.package to make it work?

Best regards, Alex.

bielikb commented 4 years ago

Hi @Parabak, indeed the implementation of SE-0272 is already in place (master), but it wasnt part of the latest Swift 5.2 release.

The support for binary dependencies in SPM (among others) will be introduced in following releases, as stated here

Parabak commented 4 years ago

Thanks a lot for a quick response! Obviously I misunderstood that msg. It says in the next major version, so it will be 6.0, right?

bielikb commented 4 years ago

Yeah, it appears so. All SPM related proposals (binary dependencies, support for resources) need also good integration with Xcode through libSwiftPM, my hope's we will see that during this year WWDC with introduction of Xcode 12.0