Skip to content

v1.3.2 - Mac Catalyst support

Latest

Choose a tag to compare

@stackotter stackotter released this 23 May 01:16
To use this release of zlib in your own swift project, add zlib as a package dependency in your project's Package.swift file.
// swift-tools-version: 5.8

dependencies: [
  .package(url: "https://github.com/the-swift-collective/zlib.git", from: "1.3.2"),
]
Then, for any target you'd like, add the zlib product as a target dependency.
targets: [
  .target(
    name: "MyLibrary",
    dependencies: [
      /* add the zlib product as a library dependency. */
      .product(name: "ZLib", package: "zlib"),
    ]
  ),
]