I try to implement "NSDate+GZIP" in Xcode 7.0 using Swift 2.0. Without success so far because the module "zlib" can not be found (Error: "No such module 'zlib'").
This is what I have tried to do so far:
Add libz.tbd to "Link Binary with Libraries" in Build phases > "No such module 'zlib'"
Add "-lz" to "Other Linker Flags" in Build Settings > "No such module 'zlib'"
Same error occurs in 7.1 beta. Any further suggestions?
Please check:
Swift compiler import paths in build settings as here:
zlib folder is yellow (added as a group):
you have libz.tbd in linked fw and libs:
Also try building the project before trying to use the module.