diff --git a/Code/BZipCompression.h b/Code/BZipCompression.h index 9b2394a..882ef07 100644 --- a/Code/BZipCompression.h +++ b/Code/BZipCompression.h @@ -19,6 +19,7 @@ // // The domain for errors returned by the BZip library. +#import extern NSString * const BZipErrorDomain; typedef NS_ENUM(NSInteger, BZipError) { diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..5555614 --- /dev/null +++ b/Package.swift @@ -0,0 +1,19 @@ +// swift-tools-version:5.7.1 +import PackageDescription + +let package = Package( + name: "BZipCompression", + defaultLocalization: "en", + platforms: [.iOS(.v13)], + products: [ + .library( + name: "BZipCompression", + targets: ["BZipCompression"]), + ], + targets: [ + .target( + name: "BZipCompression", + path: "Code", + publicHeadersPath: ""), + ] +)