Sjors / libwally-swift

Swift wrapper for LibWally, a collection of useful primitives for cryptocurrency wallets
MIT License
40 stars 18 forks source link

Mac Catalyst build? #41

Open Fonta1n3 opened 4 years ago

Fonta1n3 commented 4 years ago

I had assumed I would easily be able to build this on Mac catalyst as the framework seems to be macOS + iOS compatible in Xcode. But immediately ran into a few roadblocks.. Unfortunately I’m not very experienced at compiling libraries and hacking away at them to build them for Mac catalyst. Any idea how one may achieve this? Should it work out of the box or is there some heavy lifting that needs doing in order to achieve that?

I understand i can easily use it explicitly for macOS but building one codebase for both would be really nice :-)

jurvis commented 2 years ago

@Fonta1n3 there were some blockers that prevent us from shipping something like either a macOS/Catalyst-supported framework because fat frameworks do not support having the architecture on multiple platforms in a single universal framework (i.e. arm64 on ios device, arm64 mac, etc.)

I'm hoping we can get #69 merged and I can start adding support for macOS/Catalyst :)