Fixes SPM support from 1.7.0 version#154
Conversation
7fbdd8b to
7a96257
Compare
See removal PR #15668 and Wormholy PR pmusolino/Wormholy#154
|
@pmusolino @caggiulio I'd say this PR can now be closed given the 2.0.0 release with full SwiftPM support? https://github.com/pmusolino/Wormholy/releases/tag/2.0.0 I just added it to WooCommerce iOS and it works as expected. Thanks to you both. |
|
Hey @mokagio π The plan is to merge this PR into a different branch because the new version 2.0 requires at least iOS 16. PS: in the PR of WooCommerce you mentioned, there is a question regarding including it just in debug. Please, take a look at this comment #144 (comment) |
Hi @pmusolino π Thanks for the update! |
Motivation and Context
This PR fixes the support for Swift Package Manager (SPM).
To enable SPM compatibility, several structural adjustments were necessary:
Split Objective-C and Swift files into separate folders
SPM does not support mixing Objective-C and Swift files within the same target. Therefore, Objective-C and Swift sources have been reorganized into distinct directories.
Refactor of the Package file
Fixes import of Swift interop generated headers
Small import fixes
Important
The branch starts from
1.7.0version. As agreed in the LinkedIn chat, we opened the PR towardsmasterbranch, so you can manage the1.8.0release.