NeoTeo / SwiftGMP

Swift wrapper for Gnu Multiple Precision Library
7 stars 10 forks source link

Swift Package Manager Support #10

Open twodayslate opened 7 years ago

twodayslate commented 7 years ago

Add support for Swift Package Manager

Previously discussed here.

NeoTeo commented 7 years ago

Sorry for the late reply. SPM does not yet support iOS and so is not yet suitable for using for this.

decanus commented 5 years ago

@NeoTeo is there any way to support both swiftpackage manager and others as just merged in the VarInt repository

NeoTeo commented 5 years ago

I only intend to support the Swift Package Manager now that iOS support is coming.

decanus commented 5 years ago

Was support announced @NeoTeo?

NeoTeo commented 5 years ago

Yes, the SPM doc now states "Xcode 11 integrates with libSwiftPM to provide support for iOS, watchOS, and tvOS platforms."

simonmcl commented 3 years ago

@NeoTeo Any update on SPM support? I'm trying to add IPFS support to the package i'm building. I'm trying to use: https://github.com/ipfs-shipyard/swift-ipfs-http-client in my swift package, building it with carthage and include the outputs in my package is failing because I can't seem to build it on an M1 mac:

.....Projects/swift-ipfs-http-client/Carthage/Checkouts/SwiftGMP/GMPLib/iphonesimulator/libGMP.a(abs.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

I can't find any good solution to using IPFS in iOS, any info would be helpful