Texture icon indicating copy to clipboard operation
Texture copied to clipboard

Installation via Swift Packages Manager

Open gsgod opened this issue 6 years ago • 22 comments

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.

스크린샷 2019-10-25 오전 9 39 10

gsgod avatar Oct 25 '19 01:10 gsgod

Any updates on this? Swift Package Manager is the future! Would love to see the integration via SPM supported.

xezero avatar Mar 26 '20 02:03 xezero

Yeah, I totally agree with @xezero, is SPM support in the roadmap of this fantastic framework?

pcabfever avatar Mar 30 '20 13:03 pcabfever

I'd be very helpful for us having this framework in SPM 🙏

PabloLerma avatar Mar 30 '20 14:03 PabloLerma

Any updates?

Anhelme avatar Jul 20 '20 10:07 Anhelme

Now that we have Xcode 12 GM with more SPM improvements, any efforts or updates on this potentially?

xezero avatar Sep 16 '20 07:09 xezero

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.

SergeyPetrachkov avatar Sep 17 '20 04:09 SergeyPetrachkov

+1 for this!

schazers avatar Nov 12 '20 03:11 schazers

Two steps to add support for SPM for Texture:

  1. Generate AsyncDisplayKit.xcframework.zip when release a new version and drag it to image
  2. add Package.swift point to the zip file like this

CodeEagle avatar Feb 03 '21 03:02 CodeEagle

+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.

that-scalcucci-guy avatar Feb 17 '21 17:02 that-scalcucci-guy

+1

larsschwegmann avatar Mar 31 '21 11:03 larsschwegmann

+1

maximkrouk avatar Apr 01 '21 12:04 maximkrouk

+1

deep-randhawa avatar Jul 30 '21 07:07 deep-randhawa

+1

Mr-Sergey-K avatar Sep 06 '21 17:09 Mr-Sergey-K

Any word on this? Perhaps @rcancro ? 🙏 😊

rogerluan avatar Sep 16 '21 20:09 rogerluan

+1

kaixin-l avatar Nov 24 '21 06:11 kaixin-l

+1

johncodeos avatar Dec 12 '21 19:12 johncodeos

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.

babbage avatar Dec 13 '21 03:12 babbage

This is not a priority for us. It would be a great contribution from the community though!

rcancro avatar Dec 13 '21 17:12 rcancro

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

shimastripe avatar Jul 16 '22 19:07 shimastripe