Texture
Texture copied to clipboard
Installation via Swift Packages Manager
Hi. Is there a support for swift packages manager in texture ? it would be great if we could support the Swift Packages Manager.
Issue Description I'm trying to install master branch of Texture via Swift Packages Manager but fails. Seems a problem with manifest.
Any updates on this? Swift Package Manager is the future! Would love to see the integration via SPM supported.
Yeah, I totally agree with @xezero, is SPM support in the roadmap of this fantastic framework?
I'd be very helpful for us having this framework in SPM 🙏
Any updates?
Now that we have Xcode 12 GM with more SPM improvements, any efforts or updates on this potentially?
Would be interesting and challenging at the same time. SPM only supports pure packages which means it can support ObjC or C/C++ code but when it's not mixed up inside the package. But SPM also supports binaries now. So maybe the goal can be achieved by distributing binaries through SPM.
+1 for this!
Two steps to add support for SPM for Texture:
- Generate
AsyncDisplayKit.xcframework.zipwhen release a new version and drag it to
- add
Package.swiftpoint to the zip file like this
+1 as well for official support. I'm aware of the frustrating limitations of SPM (as I have to wrap quite a bit of my C++ code as well).
As @CodeEagle and @SergeyPetrachkov have said, it has recently become much easier to accomplish.
+1
+1
+1
+1
Any word on this? Perhaps @rcancro ? 🙏 😊
+1
+1
Would be interesting and challenging at the same time. SPM only supports pure packages which means it can support ObjC or C/C++ code but when it's not mixed up inside the package. But SPM also supports binaries now. So maybe the goal can be achieved by distributing binaries through SPM.
I was surprised to learn recently, through necessity, that it is possible to mix different languages with a package, when the code can be divided into separate internal targets that are each purely Swift, or purely Objective-C, and so on. These can then be added as dependencies of an overall Package that is provided to end users. This was news to me, proved easy to set up, and works well. Just in case that helps get this made available via SPM.
This is not a priority for us. It would be a great contribution from the community though!
As a workaround, I have an SPM package based on 3.1.0 with XCFramework binaries. Please refer to this. https://github.com/shimastripe/Texture/releases/tag/3.1.1