1024jp / GzipSwift

Swift package that enables gzip/gunzip Data using zlib
MIT License
544 stars 134 forks source link

Swift 3 branch? #27

Closed TarekSalama closed 6 years ago

TarekSalama commented 6 years ago

Hello,

I'm using Carthage. Is there a Swift 3 branch since the project I'm working on uses Swift 3?

Thanks

1024jp commented 6 years ago

There is no Swift 3 branch. 3.1.4 tag is the latest version for Swift 3. However, I'm not sure if it works with Swift 3.2 + Xcode 9.1... Well, please try it first.

TarekSalama commented 6 years ago

Yes I'm using 3.2 and Xcode 9.1

I'm getting this error clang: error: linker command failed with exit code 1 (use -v to see invocation)

Importing Gzip is fine however once I actually start using, I get that error when I build.

TarekSalama commented 6 years ago

Ok so I tried creating a new project and I changed its language to 3.2. It compiled perfectly. Eventually I found out that the clang error could be fixed by deleting the derived data folder in Xcode. Sorry for the false report :) Thanks for the library by the way it's a life saver.

1024jp commented 6 years ago

Oh, that's good to hear. Thanks for the follow-up.