diff --git a/.gitignore b/.gitignore index 48f860c..6bb08a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,48 @@ -xcuserdata/ +# Created by https://www.toptal.com/developers/gitignore/api/xcode,swiftpackagemanager +# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swiftpackagemanager + +.DS_STORE + +### SwiftPackageManager ### +Packages +.build/ +xcuserdata DerivedData/ -.DS_Store +*.xcodeproj + + +### Xcode ### +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Gcc Patch +/*.gcno + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcworkspace/contents.xcworkspacedata +**/xcshareddata/WorkspaceSettings.xcsettings + +# End of https://www.toptal.com/developers/gitignore/api/xcode,swiftpackagemanager diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..9bf1db0 --- /dev/null +++ b/Package.swift @@ -0,0 +1,38 @@ +// swift-tools-version:5.3 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "SwiftZSTD", + products: [ + .library( + name: "SwiftZSTD", + targets: ["SwiftZSTD", "SwiftZSTDC", "zstdlib"]), + ], + dependencies: [], + targets: [ + .target( + name: "SwiftZSTD", + dependencies: ["SwiftZSTDC", "zstdlib"]), + .target( + name: "SwiftZSTDC", + dependencies: ["zstdlib"], + publicHeadersPath: "include"), + .target( + name: "zstdlib", + dependencies: [], + exclude: ["LICENSE"], + publicHeadersPath: "include", + cSettings: [ + .headerSearchPath("common"), + .headerSearchPath("compress"), + .headerSearchPath("decompress"), + .headerSearchPath("dictBuilder"), + .headerSearchPath("include/zstdlib") + ]), + .testTarget( + name: "SwiftZSTDTests", + dependencies: ["SwiftZSTD"]), + ] +) diff --git a/Sources/DictionaryZSTDProcessor.swift b/Sources/SwiftZSTD/DictionaryZSTDProcessor.swift similarity index 99% rename from Sources/DictionaryZSTDProcessor.swift rename to Sources/SwiftZSTD/DictionaryZSTDProcessor.swift index 19b55d7..45eed0d 100644 --- a/Sources/DictionaryZSTDProcessor.swift +++ b/Sources/SwiftZSTD/DictionaryZSTDProcessor.swift @@ -6,6 +6,7 @@ // import Foundation +import zstdlib /** * A class to compress a buffer into a frame or to decompress a frame using a diff --git a/Sources/ZSTDDictionaryBuilder.swift b/Sources/SwiftZSTD/ZSTDDictionaryBuilder.swift similarity index 98% rename from Sources/ZSTDDictionaryBuilder.swift rename to Sources/SwiftZSTD/ZSTDDictionaryBuilder.swift index deef7d7..40224c8 100644 --- a/Sources/ZSTDDictionaryBuilder.swift +++ b/Sources/SwiftZSTD/ZSTDDictionaryBuilder.swift @@ -6,6 +6,8 @@ // import Foundation +import zstdlib +import SwiftZSTDC /** * Exceptions thrown by the dictionary builder. diff --git a/Sources/ZSTDProcessor.swift b/Sources/SwiftZSTD/ZSTDProcessor.swift similarity index 99% rename from Sources/ZSTDProcessor.swift rename to Sources/SwiftZSTD/ZSTDProcessor.swift index 4f9d317..e3fe593 100644 --- a/Sources/ZSTDProcessor.swift +++ b/Sources/SwiftZSTD/ZSTDProcessor.swift @@ -6,6 +6,7 @@ // import Foundation +import zstdlib /** * Class that supports compression/decompression of an in-memory buffer without using diff --git a/Sources/ZSTDProcessorCommon.swift b/Sources/SwiftZSTD/ZSTDProcessorCommon.swift similarity index 99% rename from Sources/ZSTDProcessorCommon.swift rename to Sources/SwiftZSTD/ZSTDProcessorCommon.swift index 74b93ff..3a50b77 100644 --- a/Sources/ZSTDProcessorCommon.swift +++ b/Sources/SwiftZSTD/ZSTDProcessorCommon.swift @@ -6,6 +6,7 @@ // import Foundation +import zstdlib /** * Types of exceptions thrown by the wrapper. diff --git a/Sources/ZSTDStream.swift b/Sources/SwiftZSTD/ZSTDStream.swift similarity index 99% rename from Sources/ZSTDStream.swift rename to Sources/SwiftZSTD/ZSTDStream.swift index 0e8454e..37e6ca6 100644 --- a/Sources/ZSTDStream.swift +++ b/Sources/SwiftZSTD/ZSTDStream.swift @@ -7,6 +7,7 @@ // import Foundation +import SwiftZSTDC /** * Types of exceptions that can be thrown when using stream operations. diff --git a/Sources/StreamHelpers.h b/Sources/SwiftZSTDC/StreamHelpers.h similarity index 94% rename from Sources/StreamHelpers.h rename to Sources/SwiftZSTDC/StreamHelpers.h index c7a4405..65b0675 100644 --- a/Sources/StreamHelpers.h +++ b/Sources/SwiftZSTDC/StreamHelpers.h @@ -6,7 +6,7 @@ // // -#import "zstd.h" +#import @interface CompressionOC : NSObject diff --git a/Sources/StreamHelpers.m b/Sources/SwiftZSTDC/StreamHelpers.m similarity index 99% rename from Sources/StreamHelpers.m rename to Sources/SwiftZSTDC/StreamHelpers.m index a76dd85..b8e3a8d 100644 --- a/Sources/StreamHelpers.m +++ b/Sources/SwiftZSTDC/StreamHelpers.m @@ -7,7 +7,7 @@ // #import -#import +#import "StreamHelpers.h" @implementation CompressionOC { ZSTD_CStream * cStream; diff --git a/SwiftZSTD_macOS/SwiftZSTD.h b/Sources/SwiftZSTDC/include/SwiftZSTDC/SwiftZSTDC.h similarity index 70% rename from SwiftZSTD_macOS/SwiftZSTD.h rename to Sources/SwiftZSTDC/include/SwiftZSTDC/SwiftZSTDC.h index 322cafb..d1febbc 100644 --- a/SwiftZSTD_macOS/SwiftZSTD.h +++ b/Sources/SwiftZSTDC/include/SwiftZSTDC/SwiftZSTDC.h @@ -6,7 +6,11 @@ // // -#import +#if __has_include() + #import +#else + #import +#endif //! Project version number for SwiftZSTD_macOS. FOUNDATION_EXPORT double SwiftZSTDVersionNumber; @@ -16,9 +20,9 @@ FOUNDATION_EXPORT const unsigned char SwiftZSTDVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import -//#import "zstd.h" -#import "zdict.h" +#import +#import -#import "StreamHelpers.h" +#import "../../StreamHelpers.h" diff --git a/zstdlib/LICENSE b/Sources/zstdlib/LICENSE similarity index 100% rename from zstdlib/LICENSE rename to Sources/zstdlib/LICENSE diff --git a/zstdlib/common/bitstream.h b/Sources/zstdlib/common/bitstream.h similarity index 100% rename from zstdlib/common/bitstream.h rename to Sources/zstdlib/common/bitstream.h diff --git a/zstdlib/common/compiler.h b/Sources/zstdlib/common/compiler.h similarity index 100% rename from zstdlib/common/compiler.h rename to Sources/zstdlib/common/compiler.h diff --git a/zstdlib/common/cpu.h b/Sources/zstdlib/common/cpu.h similarity index 100% rename from zstdlib/common/cpu.h rename to Sources/zstdlib/common/cpu.h diff --git a/zstdlib/common/debug.c b/Sources/zstdlib/common/debug.c similarity index 100% rename from zstdlib/common/debug.c rename to Sources/zstdlib/common/debug.c diff --git a/zstdlib/common/debug.h b/Sources/zstdlib/common/debug.h similarity index 100% rename from zstdlib/common/debug.h rename to Sources/zstdlib/common/debug.h diff --git a/zstdlib/common/entropy_common.c b/Sources/zstdlib/common/entropy_common.c similarity index 100% rename from zstdlib/common/entropy_common.c rename to Sources/zstdlib/common/entropy_common.c diff --git a/zstdlib/common/error_private.c b/Sources/zstdlib/common/error_private.c similarity index 100% rename from zstdlib/common/error_private.c rename to Sources/zstdlib/common/error_private.c diff --git a/zstdlib/common/error_private.h b/Sources/zstdlib/common/error_private.h similarity index 100% rename from zstdlib/common/error_private.h rename to Sources/zstdlib/common/error_private.h diff --git a/zstdlib/common/fse.h b/Sources/zstdlib/common/fse.h similarity index 100% rename from zstdlib/common/fse.h rename to Sources/zstdlib/common/fse.h diff --git a/zstdlib/common/fse_decompress.c b/Sources/zstdlib/common/fse_decompress.c similarity index 100% rename from zstdlib/common/fse_decompress.c rename to Sources/zstdlib/common/fse_decompress.c diff --git a/zstdlib/common/huf.h b/Sources/zstdlib/common/huf.h similarity index 100% rename from zstdlib/common/huf.h rename to Sources/zstdlib/common/huf.h diff --git a/zstdlib/common/mem.h b/Sources/zstdlib/common/mem.h similarity index 100% rename from zstdlib/common/mem.h rename to Sources/zstdlib/common/mem.h diff --git a/zstdlib/common/pool.c b/Sources/zstdlib/common/pool.c similarity index 100% rename from zstdlib/common/pool.c rename to Sources/zstdlib/common/pool.c diff --git a/zstdlib/common/pool.h b/Sources/zstdlib/common/pool.h similarity index 100% rename from zstdlib/common/pool.h rename to Sources/zstdlib/common/pool.h diff --git a/zstdlib/common/threading.c b/Sources/zstdlib/common/threading.c similarity index 100% rename from zstdlib/common/threading.c rename to Sources/zstdlib/common/threading.c diff --git a/zstdlib/common/threading.h b/Sources/zstdlib/common/threading.h similarity index 100% rename from zstdlib/common/threading.h rename to Sources/zstdlib/common/threading.h diff --git a/zstdlib/common/xxhash.c b/Sources/zstdlib/common/xxhash.c similarity index 100% rename from zstdlib/common/xxhash.c rename to Sources/zstdlib/common/xxhash.c diff --git a/zstdlib/common/xxhash.h b/Sources/zstdlib/common/xxhash.h similarity index 100% rename from zstdlib/common/xxhash.h rename to Sources/zstdlib/common/xxhash.h diff --git a/zstdlib/common/zstd_common.c b/Sources/zstdlib/common/zstd_common.c similarity index 100% rename from zstdlib/common/zstd_common.c rename to Sources/zstdlib/common/zstd_common.c diff --git a/zstdlib/common/zstd_errors.h b/Sources/zstdlib/common/zstd_errors.h similarity index 100% rename from zstdlib/common/zstd_errors.h rename to Sources/zstdlib/common/zstd_errors.h diff --git a/zstdlib/common/zstd_internal.h b/Sources/zstdlib/common/zstd_internal.h similarity index 100% rename from zstdlib/common/zstd_internal.h rename to Sources/zstdlib/common/zstd_internal.h diff --git a/zstdlib/compress/fse_compress.c b/Sources/zstdlib/compress/fse_compress.c similarity index 100% rename from zstdlib/compress/fse_compress.c rename to Sources/zstdlib/compress/fse_compress.c diff --git a/zstdlib/compress/hist.c b/Sources/zstdlib/compress/hist.c similarity index 100% rename from zstdlib/compress/hist.c rename to Sources/zstdlib/compress/hist.c diff --git a/zstdlib/compress/hist.h b/Sources/zstdlib/compress/hist.h similarity index 100% rename from zstdlib/compress/hist.h rename to Sources/zstdlib/compress/hist.h diff --git a/zstdlib/compress/huf_compress.c b/Sources/zstdlib/compress/huf_compress.c similarity index 100% rename from zstdlib/compress/huf_compress.c rename to Sources/zstdlib/compress/huf_compress.c diff --git a/zstdlib/compress/zstd_compress.c b/Sources/zstdlib/compress/zstd_compress.c similarity index 100% rename from zstdlib/compress/zstd_compress.c rename to Sources/zstdlib/compress/zstd_compress.c diff --git a/zstdlib/compress/zstd_compress_internal.h b/Sources/zstdlib/compress/zstd_compress_internal.h similarity index 100% rename from zstdlib/compress/zstd_compress_internal.h rename to Sources/zstdlib/compress/zstd_compress_internal.h diff --git a/zstdlib/compress/zstd_compress_literals.c b/Sources/zstdlib/compress/zstd_compress_literals.c similarity index 100% rename from zstdlib/compress/zstd_compress_literals.c rename to Sources/zstdlib/compress/zstd_compress_literals.c diff --git a/zstdlib/compress/zstd_compress_literals.h b/Sources/zstdlib/compress/zstd_compress_literals.h similarity index 100% rename from zstdlib/compress/zstd_compress_literals.h rename to Sources/zstdlib/compress/zstd_compress_literals.h diff --git a/zstdlib/compress/zstd_compress_sequences.c b/Sources/zstdlib/compress/zstd_compress_sequences.c similarity index 100% rename from zstdlib/compress/zstd_compress_sequences.c rename to Sources/zstdlib/compress/zstd_compress_sequences.c diff --git a/zstdlib/compress/zstd_compress_sequences.h b/Sources/zstdlib/compress/zstd_compress_sequences.h similarity index 100% rename from zstdlib/compress/zstd_compress_sequences.h rename to Sources/zstdlib/compress/zstd_compress_sequences.h diff --git a/zstdlib/compress/zstd_cwksp.h b/Sources/zstdlib/compress/zstd_cwksp.h similarity index 100% rename from zstdlib/compress/zstd_cwksp.h rename to Sources/zstdlib/compress/zstd_cwksp.h diff --git a/zstdlib/compress/zstd_double_fast.c b/Sources/zstdlib/compress/zstd_double_fast.c similarity index 100% rename from zstdlib/compress/zstd_double_fast.c rename to Sources/zstdlib/compress/zstd_double_fast.c diff --git a/zstdlib/compress/zstd_double_fast.h b/Sources/zstdlib/compress/zstd_double_fast.h similarity index 100% rename from zstdlib/compress/zstd_double_fast.h rename to Sources/zstdlib/compress/zstd_double_fast.h diff --git a/zstdlib/compress/zstd_fast.c b/Sources/zstdlib/compress/zstd_fast.c similarity index 100% rename from zstdlib/compress/zstd_fast.c rename to Sources/zstdlib/compress/zstd_fast.c diff --git a/zstdlib/compress/zstd_fast.h b/Sources/zstdlib/compress/zstd_fast.h similarity index 100% rename from zstdlib/compress/zstd_fast.h rename to Sources/zstdlib/compress/zstd_fast.h diff --git a/zstdlib/compress/zstd_lazy.c b/Sources/zstdlib/compress/zstd_lazy.c similarity index 100% rename from zstdlib/compress/zstd_lazy.c rename to Sources/zstdlib/compress/zstd_lazy.c diff --git a/zstdlib/compress/zstd_lazy.h b/Sources/zstdlib/compress/zstd_lazy.h similarity index 100% rename from zstdlib/compress/zstd_lazy.h rename to Sources/zstdlib/compress/zstd_lazy.h diff --git a/zstdlib/compress/zstd_ldm.c b/Sources/zstdlib/compress/zstd_ldm.c similarity index 100% rename from zstdlib/compress/zstd_ldm.c rename to Sources/zstdlib/compress/zstd_ldm.c diff --git a/zstdlib/compress/zstd_ldm.h b/Sources/zstdlib/compress/zstd_ldm.h similarity index 100% rename from zstdlib/compress/zstd_ldm.h rename to Sources/zstdlib/compress/zstd_ldm.h diff --git a/zstdlib/compress/zstd_opt.c b/Sources/zstdlib/compress/zstd_opt.c similarity index 100% rename from zstdlib/compress/zstd_opt.c rename to Sources/zstdlib/compress/zstd_opt.c diff --git a/zstdlib/compress/zstd_opt.h b/Sources/zstdlib/compress/zstd_opt.h similarity index 100% rename from zstdlib/compress/zstd_opt.h rename to Sources/zstdlib/compress/zstd_opt.h diff --git a/zstdlib/compress/zstdmt_compress.c b/Sources/zstdlib/compress/zstdmt_compress.c similarity index 100% rename from zstdlib/compress/zstdmt_compress.c rename to Sources/zstdlib/compress/zstdmt_compress.c diff --git a/zstdlib/compress/zstdmt_compress.h b/Sources/zstdlib/compress/zstdmt_compress.h similarity index 100% rename from zstdlib/compress/zstdmt_compress.h rename to Sources/zstdlib/compress/zstdmt_compress.h diff --git a/zstdlib/decompress/huf_decompress.c b/Sources/zstdlib/decompress/huf_decompress.c similarity index 100% rename from zstdlib/decompress/huf_decompress.c rename to Sources/zstdlib/decompress/huf_decompress.c diff --git a/zstdlib/decompress/zstd_ddict.c b/Sources/zstdlib/decompress/zstd_ddict.c similarity index 100% rename from zstdlib/decompress/zstd_ddict.c rename to Sources/zstdlib/decompress/zstd_ddict.c diff --git a/zstdlib/decompress/zstd_ddict.h b/Sources/zstdlib/decompress/zstd_ddict.h similarity index 100% rename from zstdlib/decompress/zstd_ddict.h rename to Sources/zstdlib/decompress/zstd_ddict.h diff --git a/zstdlib/decompress/zstd_decompress.c b/Sources/zstdlib/decompress/zstd_decompress.c similarity index 100% rename from zstdlib/decompress/zstd_decompress.c rename to Sources/zstdlib/decompress/zstd_decompress.c diff --git a/zstdlib/decompress/zstd_decompress_block.c b/Sources/zstdlib/decompress/zstd_decompress_block.c similarity index 100% rename from zstdlib/decompress/zstd_decompress_block.c rename to Sources/zstdlib/decompress/zstd_decompress_block.c diff --git a/zstdlib/decompress/zstd_decompress_block.h b/Sources/zstdlib/decompress/zstd_decompress_block.h similarity index 100% rename from zstdlib/decompress/zstd_decompress_block.h rename to Sources/zstdlib/decompress/zstd_decompress_block.h diff --git a/zstdlib/decompress/zstd_decompress_internal.h b/Sources/zstdlib/decompress/zstd_decompress_internal.h similarity index 100% rename from zstdlib/decompress/zstd_decompress_internal.h rename to Sources/zstdlib/decompress/zstd_decompress_internal.h diff --git a/zstdlib/dictBuilder/cover.c b/Sources/zstdlib/dictBuilder/cover.c similarity index 100% rename from zstdlib/dictBuilder/cover.c rename to Sources/zstdlib/dictBuilder/cover.c diff --git a/zstdlib/dictBuilder/cover.h b/Sources/zstdlib/dictBuilder/cover.h similarity index 100% rename from zstdlib/dictBuilder/cover.h rename to Sources/zstdlib/dictBuilder/cover.h diff --git a/zstdlib/dictBuilder/divsufsort.c b/Sources/zstdlib/dictBuilder/divsufsort.c similarity index 100% rename from zstdlib/dictBuilder/divsufsort.c rename to Sources/zstdlib/dictBuilder/divsufsort.c diff --git a/zstdlib/dictBuilder/divsufsort.h b/Sources/zstdlib/dictBuilder/divsufsort.h similarity index 100% rename from zstdlib/dictBuilder/divsufsort.h rename to Sources/zstdlib/dictBuilder/divsufsort.h diff --git a/zstdlib/dictBuilder/fastcover.c b/Sources/zstdlib/dictBuilder/fastcover.c similarity index 100% rename from zstdlib/dictBuilder/fastcover.c rename to Sources/zstdlib/dictBuilder/fastcover.c diff --git a/zstdlib/dictBuilder/zdict.c b/Sources/zstdlib/dictBuilder/zdict.c similarity index 100% rename from zstdlib/dictBuilder/zdict.c rename to Sources/zstdlib/dictBuilder/zdict.c diff --git a/zstdlib/dictBuilder/zdict.h b/Sources/zstdlib/dictBuilder/zdict.h similarity index 100% rename from zstdlib/dictBuilder/zdict.h rename to Sources/zstdlib/dictBuilder/zdict.h diff --git a/Sources/zstdlib/include/zstdlib/zdict.h b/Sources/zstdlib/include/zstdlib/zdict.h new file mode 100644 index 0000000..37978ec --- /dev/null +++ b/Sources/zstdlib/include/zstdlib/zdict.h @@ -0,0 +1,282 @@ +/* + * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under both the BSD-style license (found in the + * LICENSE file in the root directory of this source tree) and the GPLv2 (found + * in the COPYING file in the root directory of this source tree). + * You may select, at your option, one of the above-listed licenses. + */ + +#ifndef DICTBUILDER_H_001 +#define DICTBUILDER_H_001 + +#if defined (__cplusplus) +extern "C" { +#endif + + +/*====== Dependencies ======*/ +#include /* size_t */ + + +/* ===== ZDICTLIB_API : control library symbols visibility ===== */ +#ifndef ZDICTLIB_VISIBILITY +# if defined(__GNUC__) && (__GNUC__ >= 4) +# define ZDICTLIB_VISIBILITY __attribute__ ((visibility ("default"))) +# else +# define ZDICTLIB_VISIBILITY +# endif +#endif +#if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1) +# define ZDICTLIB_API __declspec(dllexport) ZDICTLIB_VISIBILITY +#elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1) +# define ZDICTLIB_API __declspec(dllimport) ZDICTLIB_VISIBILITY /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/ +#else +# define ZDICTLIB_API ZDICTLIB_VISIBILITY +#endif + + +/*! ZDICT_trainFromBuffer(): + * Train a dictionary from an array of samples. + * Redirect towards ZDICT_optimizeTrainFromBuffer_fastCover() single-threaded, with d=8, steps=4, + * f=20, and accel=1. + * Samples must be stored concatenated in a single flat buffer `samplesBuffer`, + * supplied with an array of sizes `samplesSizes`, providing the size of each sample, in order. + * The resulting dictionary will be saved into `dictBuffer`. + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`) + * or an error code, which can be tested with ZDICT_isError(). + * Note: Dictionary training will fail if there are not enough samples to construct a + * dictionary, or if most of the samples are too small (< 8 bytes being the lower limit). + * If dictionary training fails, you should use zstd without a dictionary, as the dictionary + * would've been ineffective anyways. If you believe your samples would benefit from a dictionary + * please open an issue with details, and we can look into it. + * Note: ZDICT_trainFromBuffer()'s memory usage is about 6 MB. + * Tips: In general, a reasonable dictionary has a size of ~ 100 KB. + * It's possible to select smaller or larger size, just by specifying `dictBufferCapacity`. + * In general, it's recommended to provide a few thousands samples, though this can vary a lot. + * It's recommended that total size of all samples be about ~x100 times the target size of dictionary. + */ +ZDICTLIB_API size_t ZDICT_trainFromBuffer(void* dictBuffer, size_t dictBufferCapacity, + const void* samplesBuffer, + const size_t* samplesSizes, unsigned nbSamples); + + +/*====== Helper functions ======*/ +ZDICTLIB_API unsigned ZDICT_getDictID(const void* dictBuffer, size_t dictSize); /**< extracts dictID; @return zero if error (not a valid dictionary) */ +ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode); +ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode); + + + +#ifdef ZDICT_STATIC_LINKING_ONLY + +/* ==================================================================================== + * The definitions in this section are considered experimental. + * They should never be used with a dynamic library, as they may change in the future. + * They are provided for advanced usages. + * Use them only in association with static linking. + * ==================================================================================== */ + +typedef struct { + int compressionLevel; /* optimize for a specific zstd compression level; 0 means default */ + unsigned notificationLevel; /* Write log to stderr; 0 = none (default); 1 = errors; 2 = progression; 3 = details; 4 = debug; */ + unsigned dictID; /* force dictID value; 0 means auto mode (32-bits random value) */ +} ZDICT_params_t; + +/*! ZDICT_cover_params_t: + * k and d are the only required parameters. + * For others, value 0 means default. + */ +typedef struct { + unsigned k; /* Segment size : constraint: 0 < k : Reasonable range [16, 2048+] */ + unsigned d; /* dmer size : constraint: 0 < d <= k : Reasonable range [6, 16] */ + unsigned steps; /* Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked */ + unsigned nbThreads; /* Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined */ + double splitPoint; /* Percentage of samples used for training: Only used for optimization : the first nbSamples * splitPoint samples will be used to training, the last nbSamples * (1 - splitPoint) samples will be used for testing, 0 means default (1.0), 1.0 when all samples are used for both training and testing */ + unsigned shrinkDict; /* Train dictionaries to shrink in size starting from the minimum size and selects the smallest dictionary that is shrinkDictMaxRegression% worse than the largest dictionary. 0 means no shrinking and 1 means shrinking */ + unsigned shrinkDictMaxRegression; /* Sets shrinkDictMaxRegression so that a smaller dictionary can be at worse shrinkDictMaxRegression% worse than the max dict size dictionary. */ + ZDICT_params_t zParams; +} ZDICT_cover_params_t; + +typedef struct { + unsigned k; /* Segment size : constraint: 0 < k : Reasonable range [16, 2048+] */ + unsigned d; /* dmer size : constraint: 0 < d <= k : Reasonable range [6, 16] */ + unsigned f; /* log of size of frequency array : constraint: 0 < f <= 31 : 1 means default(20)*/ + unsigned steps; /* Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked */ + unsigned nbThreads; /* Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined */ + double splitPoint; /* Percentage of samples used for training: Only used for optimization : the first nbSamples * splitPoint samples will be used to training, the last nbSamples * (1 - splitPoint) samples will be used for testing, 0 means default (0.75), 1.0 when all samples are used for both training and testing */ + unsigned accel; /* Acceleration level: constraint: 0 < accel <= 10, higher means faster and less accurate, 0 means default(1) */ + unsigned shrinkDict; /* Train dictionaries to shrink in size starting from the minimum size and selects the smallest dictionary that is shrinkDictMaxRegression% worse than the largest dictionary. 0 means no shrinking and 1 means shrinking */ + unsigned shrinkDictMaxRegression; /* Sets shrinkDictMaxRegression so that a smaller dictionary can be at worse shrinkDictMaxRegression% worse than the max dict size dictionary. */ + + ZDICT_params_t zParams; +} ZDICT_fastCover_params_t; + +/*! ZDICT_trainFromBuffer_cover(): + * Train a dictionary from an array of samples using the COVER algorithm. + * Samples must be stored concatenated in a single flat buffer `samplesBuffer`, + * supplied with an array of sizes `samplesSizes`, providing the size of each sample, in order. + * The resulting dictionary will be saved into `dictBuffer`. + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`) + * or an error code, which can be tested with ZDICT_isError(). + * See ZDICT_trainFromBuffer() for details on failure modes. + * Note: ZDICT_trainFromBuffer_cover() requires about 9 bytes of memory for each input byte. + * Tips: In general, a reasonable dictionary has a size of ~ 100 KB. + * It's possible to select smaller or larger size, just by specifying `dictBufferCapacity`. + * In general, it's recommended to provide a few thousands samples, though this can vary a lot. + * It's recommended that total size of all samples be about ~x100 times the target size of dictionary. + */ +ZDICTLIB_API size_t ZDICT_trainFromBuffer_cover( + void *dictBuffer, size_t dictBufferCapacity, + const void *samplesBuffer, const size_t *samplesSizes, unsigned nbSamples, + ZDICT_cover_params_t parameters); + +/*! ZDICT_optimizeTrainFromBuffer_cover(): + * The same requirements as above hold for all the parameters except `parameters`. + * This function tries many parameter combinations and picks the best parameters. + * `*parameters` is filled with the best parameters found, + * dictionary constructed with those parameters is stored in `dictBuffer`. + * + * All of the parameters d, k, steps are optional. + * If d is non-zero then we don't check multiple values of d, otherwise we check d = {6, 8}. + * if steps is zero it defaults to its default value. + * If k is non-zero then we don't check multiple values of k, otherwise we check steps values in [50, 2000]. + * + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`) + * or an error code, which can be tested with ZDICT_isError(). + * On success `*parameters` contains the parameters selected. + * See ZDICT_trainFromBuffer() for details on failure modes. + * Note: ZDICT_optimizeTrainFromBuffer_cover() requires about 8 bytes of memory for each input byte and additionally another 5 bytes of memory for each byte of memory for each thread. + */ +ZDICTLIB_API size_t ZDICT_optimizeTrainFromBuffer_cover( + void* dictBuffer, size_t dictBufferCapacity, + const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples, + ZDICT_cover_params_t* parameters); + +/*! ZDICT_trainFromBuffer_fastCover(): + * Train a dictionary from an array of samples using a modified version of COVER algorithm. + * Samples must be stored concatenated in a single flat buffer `samplesBuffer`, + * supplied with an array of sizes `samplesSizes`, providing the size of each sample, in order. + * d and k are required. + * All other parameters are optional, will use default values if not provided + * The resulting dictionary will be saved into `dictBuffer`. + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`) + * or an error code, which can be tested with ZDICT_isError(). + * See ZDICT_trainFromBuffer() for details on failure modes. + * Note: ZDICT_trainFromBuffer_fastCover() requires 6 * 2^f bytes of memory. + * Tips: In general, a reasonable dictionary has a size of ~ 100 KB. + * It's possible to select smaller or larger size, just by specifying `dictBufferCapacity`. + * In general, it's recommended to provide a few thousands samples, though this can vary a lot. + * It's recommended that total size of all samples be about ~x100 times the target size of dictionary. + */ +ZDICTLIB_API size_t ZDICT_trainFromBuffer_fastCover(void *dictBuffer, + size_t dictBufferCapacity, const void *samplesBuffer, + const size_t *samplesSizes, unsigned nbSamples, + ZDICT_fastCover_params_t parameters); + +/*! ZDICT_optimizeTrainFromBuffer_fastCover(): + * The same requirements as above hold for all the parameters except `parameters`. + * This function tries many parameter combinations (specifically, k and d combinations) + * and picks the best parameters. `*parameters` is filled with the best parameters found, + * dictionary constructed with those parameters is stored in `dictBuffer`. + * All of the parameters d, k, steps, f, and accel are optional. + * If d is non-zero then we don't check multiple values of d, otherwise we check d = {6, 8}. + * if steps is zero it defaults to its default value. + * If k is non-zero then we don't check multiple values of k, otherwise we check steps values in [50, 2000]. + * If f is zero, default value of 20 is used. + * If accel is zero, default value of 1 is used. + * + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`) + * or an error code, which can be tested with ZDICT_isError(). + * On success `*parameters` contains the parameters selected. + * See ZDICT_trainFromBuffer() for details on failure modes. + * Note: ZDICT_optimizeTrainFromBuffer_fastCover() requires about 6 * 2^f bytes of memory for each thread. + */ +ZDICTLIB_API size_t ZDICT_optimizeTrainFromBuffer_fastCover(void* dictBuffer, + size_t dictBufferCapacity, const void* samplesBuffer, + const size_t* samplesSizes, unsigned nbSamples, + ZDICT_fastCover_params_t* parameters); + +/*! ZDICT_finalizeDictionary(): + * Given a custom content as a basis for dictionary, and a set of samples, + * finalize dictionary by adding headers and statistics. + * + * Samples must be stored concatenated in a flat buffer `samplesBuffer`, + * supplied with an array of sizes `samplesSizes`, providing the size of each sample in order. + * + * dictContentSize must be >= ZDICT_CONTENTSIZE_MIN bytes. + * maxDictSize must be >= dictContentSize, and must be >= ZDICT_DICTSIZE_MIN bytes. + * + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`), + * or an error code, which can be tested by ZDICT_isError(). + * Note: ZDICT_finalizeDictionary() will push notifications into stderr if instructed to, using notificationLevel>0. + * Note 2: dictBuffer and dictContent can overlap + */ +#define ZDICT_CONTENTSIZE_MIN 128 +#define ZDICT_DICTSIZE_MIN 256 +ZDICTLIB_API size_t ZDICT_finalizeDictionary(void* dictBuffer, size_t dictBufferCapacity, + const void* dictContent, size_t dictContentSize, + const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples, + ZDICT_params_t parameters); + +typedef struct { + unsigned selectivityLevel; /* 0 means default; larger => select more => larger dictionary */ + ZDICT_params_t zParams; +} ZDICT_legacy_params_t; + +/*! ZDICT_trainFromBuffer_legacy(): + * Train a dictionary from an array of samples. + * Samples must be stored concatenated in a single flat buffer `samplesBuffer`, + * supplied with an array of sizes `samplesSizes`, providing the size of each sample, in order. + * The resulting dictionary will be saved into `dictBuffer`. + * `parameters` is optional and can be provided with values set to 0 to mean "default". + * @return: size of dictionary stored into `dictBuffer` (<= `dictBufferCapacity`) + * or an error code, which can be tested with ZDICT_isError(). + * See ZDICT_trainFromBuffer() for details on failure modes. + * Tips: In general, a reasonable dictionary has a size of ~ 100 KB. + * It's possible to select smaller or larger size, just by specifying `dictBufferCapacity`. + * In general, it's recommended to provide a few thousands samples, though this can vary a lot. + * It's recommended that total size of all samples be about ~x100 times the target size of dictionary. + * Note: ZDICT_trainFromBuffer_legacy() will send notifications into stderr if instructed to, using notificationLevel>0. + */ +ZDICTLIB_API size_t ZDICT_trainFromBuffer_legacy( + void *dictBuffer, size_t dictBufferCapacity, + const void *samplesBuffer, const size_t *samplesSizes, unsigned nbSamples, + ZDICT_legacy_params_t parameters); + +/* Deprecation warnings */ +/* It is generally possible to disable deprecation warnings from compiler, + for example with -Wno-deprecated-declarations for gcc + or _CRT_SECURE_NO_WARNINGS in Visual. + Otherwise, it's also possible to manually define ZDICT_DISABLE_DEPRECATE_WARNINGS */ +#ifdef ZDICT_DISABLE_DEPRECATE_WARNINGS +# define ZDICT_DEPRECATED(message) ZDICTLIB_API /* disable deprecation warnings */ +#else +# define ZDICT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) +# if defined (__cplusplus) && (__cplusplus >= 201402) /* C++14 or greater */ +# define ZDICT_DEPRECATED(message) [[deprecated(message)]] ZDICTLIB_API +# elif (ZDICT_GCC_VERSION >= 405) || defined(__clang__) +# define ZDICT_DEPRECATED(message) ZDICTLIB_API __attribute__((deprecated(message))) +# elif (ZDICT_GCC_VERSION >= 301) +# define ZDICT_DEPRECATED(message) ZDICTLIB_API __attribute__((deprecated)) +# elif defined(_MSC_VER) +# define ZDICT_DEPRECATED(message) ZDICTLIB_API __declspec(deprecated(message)) +# else +# pragma message("WARNING: You need to implement ZDICT_DEPRECATED for this compiler") +# define ZDICT_DEPRECATED(message) ZDICTLIB_API +# endif +#endif /* ZDICT_DISABLE_DEPRECATE_WARNINGS */ + +ZDICT_DEPRECATED("use ZDICT_finalizeDictionary() instead") +size_t ZDICT_addEntropyTablesFromBuffer(void* dictBuffer, size_t dictContentSize, size_t dictBufferCapacity, + const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples); + + +#endif /* ZDICT_STATIC_LINKING_ONLY */ + +#if defined (__cplusplus) +} +#endif + +#endif /* DICTBUILDER_H_001 */ diff --git a/zstdlib/zstd.h b/Sources/zstdlib/include/zstdlib/zstd.h similarity index 100% rename from zstdlib/zstd.h rename to Sources/zstdlib/include/zstdlib/zstd.h diff --git a/SwiftZSTD.xcodeproj/project.pbxproj b/SwiftZSTD.xcodeproj/project.pbxproj deleted file mode 100644 index 25110f8..0000000 --- a/SwiftZSTD.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1731 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - B60EDE051E0A307A00F2713B /* DictionaryZSTDProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE011E0A307A00F2713B /* DictionaryZSTDProcessor.swift */; }; - B60EDE061E0A307A00F2713B /* DictionaryZSTDProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE011E0A307A00F2713B /* DictionaryZSTDProcessor.swift */; }; - B60EDE071E0A307A00F2713B /* ZSTDDictionaryBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE021E0A307A00F2713B /* ZSTDDictionaryBuilder.swift */; }; - B60EDE081E0A307A00F2713B /* ZSTDDictionaryBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE021E0A307A00F2713B /* ZSTDDictionaryBuilder.swift */; }; - B60EDE091E0A307A00F2713B /* ZSTDProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE031E0A307A00F2713B /* ZSTDProcessor.swift */; }; - B60EDE0A1E0A307A00F2713B /* ZSTDProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE031E0A307A00F2713B /* ZSTDProcessor.swift */; }; - B60EDE0B1E0A307A00F2713B /* ZSTDProcessorCommon.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE041E0A307A00F2713B /* ZSTDProcessorCommon.swift */; }; - B60EDE0C1E0A307A00F2713B /* ZSTDProcessorCommon.swift in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE041E0A307A00F2713B /* ZSTDProcessorCommon.swift */; }; - B60EDE2C1E0A30B000F2713B /* bitstream.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE0E1E0A30B000F2713B /* bitstream.h */; }; - B60EDE2D1E0A30B000F2713B /* bitstream.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE0E1E0A30B000F2713B /* bitstream.h */; }; - B60EDE2E1E0A30B000F2713B /* entropy_common.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE0F1E0A30B000F2713B /* entropy_common.c */; }; - B60EDE2F1E0A30B000F2713B /* entropy_common.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE0F1E0A30B000F2713B /* entropy_common.c */; }; - B60EDE301E0A30B000F2713B /* error_private.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE101E0A30B000F2713B /* error_private.c */; }; - B60EDE311E0A30B000F2713B /* error_private.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE101E0A30B000F2713B /* error_private.c */; }; - B60EDE321E0A30B000F2713B /* error_private.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE111E0A30B000F2713B /* error_private.h */; }; - B60EDE331E0A30B000F2713B /* error_private.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE111E0A30B000F2713B /* error_private.h */; }; - B60EDE341E0A30B000F2713B /* fse.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE121E0A30B000F2713B /* fse.h */; }; - B60EDE351E0A30B000F2713B /* fse.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE121E0A30B000F2713B /* fse.h */; }; - B60EDE361E0A30B000F2713B /* fse_decompress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE131E0A30B000F2713B /* fse_decompress.c */; }; - B60EDE371E0A30B000F2713B /* fse_decompress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE131E0A30B000F2713B /* fse_decompress.c */; }; - B60EDE381E0A30B000F2713B /* huf.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE141E0A30B000F2713B /* huf.h */; }; - B60EDE391E0A30B000F2713B /* huf.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE141E0A30B000F2713B /* huf.h */; }; - B60EDE3A1E0A30B000F2713B /* mem.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE151E0A30B000F2713B /* mem.h */; }; - B60EDE3B1E0A30B000F2713B /* mem.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE151E0A30B000F2713B /* mem.h */; }; - B60EDE3C1E0A30B000F2713B /* xxhash.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE161E0A30B000F2713B /* xxhash.c */; }; - B60EDE3D1E0A30B000F2713B /* xxhash.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE161E0A30B000F2713B /* xxhash.c */; }; - B60EDE3E1E0A30B000F2713B /* xxhash.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE171E0A30B000F2713B /* xxhash.h */; }; - B60EDE3F1E0A30B000F2713B /* xxhash.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE171E0A30B000F2713B /* xxhash.h */; }; - B60EDE421E0A30B000F2713B /* zstd_common.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE191E0A30B000F2713B /* zstd_common.c */; }; - B60EDE431E0A30B000F2713B /* zstd_common.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE191E0A30B000F2713B /* zstd_common.c */; }; - B60EDE461E0A30B000F2713B /* zstd_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE1B1E0A30B000F2713B /* zstd_internal.h */; }; - B60EDE471E0A30B000F2713B /* zstd_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE1B1E0A30B000F2713B /* zstd_internal.h */; }; - B60EDE481E0A30B000F2713B /* fse_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE1D1E0A30B000F2713B /* fse_compress.c */; }; - B60EDE491E0A30B000F2713B /* fse_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE1D1E0A30B000F2713B /* fse_compress.c */; }; - B60EDE4A1E0A30B000F2713B /* huf_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE1E1E0A30B000F2713B /* huf_compress.c */; }; - B60EDE4B1E0A30B000F2713B /* huf_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE1E1E0A30B000F2713B /* huf_compress.c */; }; - B60EDE4E1E0A30B000F2713B /* zstd_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE201E0A30B000F2713B /* zstd_compress.c */; }; - B60EDE4F1E0A30B000F2713B /* zstd_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE201E0A30B000F2713B /* zstd_compress.c */; }; - B60EDE521E0A30B000F2713B /* huf_decompress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE231E0A30B000F2713B /* huf_decompress.c */; }; - B60EDE531E0A30B000F2713B /* huf_decompress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE231E0A30B000F2713B /* huf_decompress.c */; }; - B60EDE561E0A30B000F2713B /* zstd_decompress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE251E0A30B000F2713B /* zstd_decompress.c */; }; - B60EDE571E0A30B000F2713B /* zstd_decompress.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE251E0A30B000F2713B /* zstd_decompress.c */; }; - B60EDE581E0A30B000F2713B /* divsufsort.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE271E0A30B000F2713B /* divsufsort.c */; }; - B60EDE591E0A30B000F2713B /* divsufsort.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE271E0A30B000F2713B /* divsufsort.c */; }; - B60EDE5C1E0A30B000F2713B /* zdict.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE291E0A30B000F2713B /* zdict.c */; }; - B60EDE5D1E0A30B000F2713B /* zdict.c in Sources */ = {isa = PBXBuildFile; fileRef = B60EDE291E0A30B000F2713B /* zdict.c */; }; - B60EDE5E1E0A30B000F2713B /* zdict.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE2A1E0A30B000F2713B /* zdict.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B60EDE5F1E0A30B000F2713B /* zdict.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE2A1E0A30B000F2713B /* zdict.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B60EDE601E0A30B000F2713B /* zstd.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE2B1E0A30B000F2713B /* zstd.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B60EDE611E0A30B000F2713B /* zstd.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE2B1E0A30B000F2713B /* zstd.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B60EDE801E0A47AF00F2713B /* SwiftZSTD.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE7F1E0A47AF00F2713B /* SwiftZSTD.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B60EDE841E0A4B9500F2713B /* SwiftZSTD.h in Headers */ = {isa = PBXBuildFile; fileRef = B60EDE821E0A4B9500F2713B /* SwiftZSTD.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B68A389023B1C2CB0097BCB7 /* debug.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A388E23B1C2CB0097BCB7 /* debug.c */; }; - B68A389123B1C2CB0097BCB7 /* debug.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A388E23B1C2CB0097BCB7 /* debug.c */; }; - B68A389223B1C2CB0097BCB7 /* threading.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A388F23B1C2CB0097BCB7 /* threading.c */; }; - B68A389323B1C2CB0097BCB7 /* threading.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A388F23B1C2CB0097BCB7 /* threading.c */; }; - B68A389723B1C3EA0097BCB7 /* cpu.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389423B1C3EA0097BCB7 /* cpu.h */; }; - B68A389823B1C3EA0097BCB7 /* cpu.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389423B1C3EA0097BCB7 /* cpu.h */; }; - B68A389923B1C3EA0097BCB7 /* debug.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389523B1C3EA0097BCB7 /* debug.h */; }; - B68A389A23B1C3EA0097BCB7 /* debug.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389523B1C3EA0097BCB7 /* debug.h */; }; - B68A389B23B1C3EA0097BCB7 /* zstd_errors.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389623B1C3EA0097BCB7 /* zstd_errors.h */; }; - B68A389C23B1C3EA0097BCB7 /* zstd_errors.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389623B1C3EA0097BCB7 /* zstd_errors.h */; }; - B68A38B023B1C42E0097BCB7 /* zstd_double_fast.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389D23B1C42C0097BCB7 /* zstd_double_fast.h */; }; - B68A38B123B1C42E0097BCB7 /* zstd_double_fast.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389D23B1C42C0097BCB7 /* zstd_double_fast.h */; }; - B68A38B223B1C42E0097BCB7 /* zstd_compress_literals.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A389E23B1C42C0097BCB7 /* zstd_compress_literals.c */; }; - B68A38B323B1C42E0097BCB7 /* zstd_compress_literals.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A389E23B1C42C0097BCB7 /* zstd_compress_literals.c */; }; - B68A38B423B1C42E0097BCB7 /* zstd_compress_sequences.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389F23B1C42C0097BCB7 /* zstd_compress_sequences.h */; }; - B68A38B523B1C42E0097BCB7 /* zstd_compress_sequences.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A389F23B1C42C0097BCB7 /* zstd_compress_sequences.h */; }; - B68A38B623B1C42E0097BCB7 /* zstd_compress_literals.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A023B1C42C0097BCB7 /* zstd_compress_literals.h */; }; - B68A38B723B1C42E0097BCB7 /* zstd_compress_literals.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A023B1C42C0097BCB7 /* zstd_compress_literals.h */; }; - B68A38B823B1C42E0097BCB7 /* zstd_lazy.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A123B1C42C0097BCB7 /* zstd_lazy.c */; }; - B68A38B923B1C42E0097BCB7 /* zstd_lazy.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A123B1C42C0097BCB7 /* zstd_lazy.c */; }; - B68A38BA23B1C42E0097BCB7 /* zstd_compress_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A223B1C42C0097BCB7 /* zstd_compress_internal.h */; }; - B68A38BB23B1C42E0097BCB7 /* zstd_compress_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A223B1C42C0097BCB7 /* zstd_compress_internal.h */; }; - B68A38BC23B1C42E0097BCB7 /* zstd_ldm.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A323B1C42C0097BCB7 /* zstd_ldm.h */; }; - B68A38BD23B1C42E0097BCB7 /* zstd_ldm.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A323B1C42C0097BCB7 /* zstd_ldm.h */; }; - B68A38BE23B1C42E0097BCB7 /* zstd_double_fast.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A423B1C42C0097BCB7 /* zstd_double_fast.c */; }; - B68A38BF23B1C42E0097BCB7 /* zstd_double_fast.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A423B1C42C0097BCB7 /* zstd_double_fast.c */; }; - B68A38C023B1C42E0097BCB7 /* hist.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A523B1C42D0097BCB7 /* hist.c */; }; - B68A38C123B1C42E0097BCB7 /* hist.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A523B1C42D0097BCB7 /* hist.c */; }; - B68A38C223B1C42E0097BCB7 /* zstd_fast.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A623B1C42D0097BCB7 /* zstd_fast.c */; }; - B68A38C323B1C42E0097BCB7 /* zstd_fast.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A623B1C42D0097BCB7 /* zstd_fast.c */; }; - B68A38C423B1C42E0097BCB7 /* zstd_fast.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A723B1C42D0097BCB7 /* zstd_fast.h */; }; - B68A38C523B1C42E0097BCB7 /* zstd_fast.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A723B1C42D0097BCB7 /* zstd_fast.h */; }; - B68A38C623B1C42E0097BCB7 /* zstd_ldm.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A823B1C42D0097BCB7 /* zstd_ldm.c */; }; - B68A38C723B1C42E0097BCB7 /* zstd_ldm.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38A823B1C42D0097BCB7 /* zstd_ldm.c */; }; - B68A38C823B1C42E0097BCB7 /* hist.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A923B1C42D0097BCB7 /* hist.h */; }; - B68A38C923B1C42E0097BCB7 /* hist.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38A923B1C42D0097BCB7 /* hist.h */; }; - B68A38CA23B1C42E0097BCB7 /* zstd_cwksp.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AA23B1C42D0097BCB7 /* zstd_cwksp.h */; }; - B68A38CB23B1C42E0097BCB7 /* zstd_cwksp.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AA23B1C42D0097BCB7 /* zstd_cwksp.h */; }; - B68A38CC23B1C42E0097BCB7 /* zstd_lazy.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AB23B1C42D0097BCB7 /* zstd_lazy.h */; }; - B68A38CD23B1C42E0097BCB7 /* zstd_lazy.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AB23B1C42D0097BCB7 /* zstd_lazy.h */; }; - B68A38CE23B1C42E0097BCB7 /* zstd_opt.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AC23B1C42D0097BCB7 /* zstd_opt.h */; }; - B68A38CF23B1C42E0097BCB7 /* zstd_opt.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AC23B1C42D0097BCB7 /* zstd_opt.h */; }; - B68A38D023B1C42E0097BCB7 /* zstdmt_compress.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AD23B1C42D0097BCB7 /* zstdmt_compress.h */; }; - B68A38D123B1C42E0097BCB7 /* zstdmt_compress.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38AD23B1C42D0097BCB7 /* zstdmt_compress.h */; }; - B68A38D223B1C42E0097BCB7 /* zstd_opt.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38AE23B1C42D0097BCB7 /* zstd_opt.c */; }; - B68A38D323B1C42E0097BCB7 /* zstd_opt.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38AE23B1C42D0097BCB7 /* zstd_opt.c */; }; - B68A38D423B1C42E0097BCB7 /* zstd_compress_sequences.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38AF23B1C42E0097BCB7 /* zstd_compress_sequences.c */; }; - B68A38D523B1C42E0097BCB7 /* zstd_compress_sequences.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38AF23B1C42E0097BCB7 /* zstd_compress_sequences.c */; }; - B68A38DB23B1C44D0097BCB7 /* zstd_decompress_block.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38D623B1C44D0097BCB7 /* zstd_decompress_block.c */; }; - B68A38DC23B1C44D0097BCB7 /* zstd_decompress_block.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38D623B1C44D0097BCB7 /* zstd_decompress_block.c */; }; - B68A38DD23B1C44D0097BCB7 /* zstd_decompress_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38D723B1C44D0097BCB7 /* zstd_decompress_internal.h */; }; - B68A38DE23B1C44D0097BCB7 /* zstd_decompress_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38D723B1C44D0097BCB7 /* zstd_decompress_internal.h */; }; - B68A38DF23B1C44D0097BCB7 /* zstd_ddict.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38D823B1C44D0097BCB7 /* zstd_ddict.c */; }; - B68A38E023B1C44D0097BCB7 /* zstd_ddict.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38D823B1C44D0097BCB7 /* zstd_ddict.c */; }; - B68A38E123B1C44D0097BCB7 /* zstd_decompress_block.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38D923B1C44D0097BCB7 /* zstd_decompress_block.h */; }; - B68A38E223B1C44D0097BCB7 /* zstd_decompress_block.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38D923B1C44D0097BCB7 /* zstd_decompress_block.h */; }; - B68A38E323B1C44D0097BCB7 /* zstd_ddict.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38DA23B1C44D0097BCB7 /* zstd_ddict.h */; }; - B68A38E423B1C44D0097BCB7 /* zstd_ddict.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38DA23B1C44D0097BCB7 /* zstd_ddict.h */; }; - B68A38E823B1C45F0097BCB7 /* cover.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38E523B1C45F0097BCB7 /* cover.h */; }; - B68A38E923B1C45F0097BCB7 /* cover.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38E523B1C45F0097BCB7 /* cover.h */; }; - B68A38EA23B1C45F0097BCB7 /* divsufsort.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38E623B1C45F0097BCB7 /* divsufsort.h */; }; - B68A38EB23B1C45F0097BCB7 /* divsufsort.h in Headers */ = {isa = PBXBuildFile; fileRef = B68A38E623B1C45F0097BCB7 /* divsufsort.h */; }; - B68A38EC23B1C45F0097BCB7 /* fastcover.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38E723B1C45F0097BCB7 /* fastcover.c */; }; - B68A38ED23B1C45F0097BCB7 /* fastcover.c in Sources */ = {isa = PBXBuildFile; fileRef = B68A38E723B1C45F0097BCB7 /* fastcover.c */; }; - B6A3756B23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6A3756A23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift */; }; - B6A3756D23CEA74C006C8ED4 /* SwiftZSTD.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B60EDDA71E0A2C2400F2713B /* SwiftZSTD.framework */; }; - B6A3758B23CEACDE006C8ED4 /* SwiftZSTD.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B60EDDB51E0A2CF100F2713B /* SwiftZSTD.framework */; }; - B6A3759123CEACFB006C8ED4 /* SwiftZSTDBasicTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6A3756A23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift */; }; - B6C02D4823D683C40001675F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6C02D4723D683C40001675F /* AppDelegate.swift */; }; - B6C02D4A23D683C40001675F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6C02D4923D683C40001675F /* ViewController.swift */; }; - B6C02D4F23D683D40001675F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B6C02D4E23D683D40001675F /* Assets.xcassets */; }; - B6C02D6523D6879F0001675F /* SwiftZSTDBasicTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6A3756A23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift */; }; - B6C02D6623D688380001675F /* SwiftZSTD.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B60EDDB51E0A2CF100F2713B /* SwiftZSTD.framework */; }; - B6C02D6823D688A60001675F /* SwiftZSTD.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B60EDDB51E0A2CF100F2713B /* SwiftZSTD.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - B6E8FDF31F4FC47D007875AC /* compiler.h in Headers */ = {isa = PBXBuildFile; fileRef = B6E8FDF21F4FC47D007875AC /* compiler.h */; }; - B6E8FDF71F4FC4B5007875AC /* pool.h in Headers */ = {isa = PBXBuildFile; fileRef = B6E8FDF61F4FC4B5007875AC /* pool.h */; }; - B6E8FDFB1F4FC4E4007875AC /* pool.c in Sources */ = {isa = PBXBuildFile; fileRef = B6E8FDFA1F4FC4E4007875AC /* pool.c */; }; - B6E8FDFF1F4FCA81007875AC /* cover.c in Sources */ = {isa = PBXBuildFile; fileRef = B6E8FDFE1F4FCA81007875AC /* cover.c */; }; - B6E8FE011F4FCAB3007875AC /* threading.h in Headers */ = {isa = PBXBuildFile; fileRef = B6E8FE001F4FCAB3007875AC /* threading.h */; }; - B6E8FE051F4FCD68007875AC /* cover.c in Sources */ = {isa = PBXBuildFile; fileRef = B6E8FDFE1F4FCA81007875AC /* cover.c */; }; - B6E8FE061F4FCD6F007875AC /* pool.c in Sources */ = {isa = PBXBuildFile; fileRef = B6E8FDFA1F4FC4E4007875AC /* pool.c */; }; - B6FD03541F6B6F05000202D8 /* ZSTDStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6FD03531F6B6F05000202D8 /* ZSTDStream.swift */; }; - B6FD03551F6B6F05000202D8 /* ZSTDStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6FD03531F6B6F05000202D8 /* ZSTDStream.swift */; }; - B6FD03571F6D1E49000202D8 /* StreamHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = B6FD03561F6D1E49000202D8 /* StreamHelpers.m */; }; - B6FD03581F6D1E49000202D8 /* StreamHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = B6FD03561F6D1E49000202D8 /* StreamHelpers.m */; }; - B6FD035C1F6D20CF000202D8 /* StreamHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = B6FD03591F6D1F75000202D8 /* StreamHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B6FD035D1F6D20D6000202D8 /* StreamHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = B6FD03591F6D1F75000202D8 /* StreamHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B6FD03651F70A9F2000202D8 /* zstdmt_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B6FD03641F70A9F2000202D8 /* zstdmt_compress.c */; }; - B6FD03661F70A9F2000202D8 /* zstdmt_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = B6FD03641F70A9F2000202D8 /* zstdmt_compress.c */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - B6A3756E23CEA74C006C8ED4 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B60EDD9C1E0A2AD000F2713B /* Project object */; - proxyType = 1; - remoteGlobalIDString = B60EDDA61E0A2C2400F2713B; - remoteInfo = SwiftZSTD_macOS; - }; - B6A3758C23CEACDE006C8ED4 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B60EDD9C1E0A2AD000F2713B /* Project object */; - proxyType = 1; - remoteGlobalIDString = B60EDDB41E0A2CF100F2713B; - remoteInfo = SwiftZSTD_iOS; - }; - B6C02D6023D687520001675F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B60EDD9C1E0A2AD000F2713B /* Project object */; - proxyType = 1; - remoteGlobalIDString = B6C02D4423D683C40001675F; - remoteInfo = iOSTestApp; - }; - B6C02D6923D688A60001675F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B60EDD9C1E0A2AD000F2713B /* Project object */; - proxyType = 1; - remoteGlobalIDString = B60EDDB41E0A2CF100F2713B; - remoteInfo = SwiftZSTD_iOS; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - B6C02D6B23D688A60001675F /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - B6C02D6823D688A60001675F /* SwiftZSTD.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - B60EDDA71E0A2C2400F2713B /* SwiftZSTD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftZSTD.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B60EDDAB1E0A2C2400F2713B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B60EDDB51E0A2CF100F2713B /* SwiftZSTD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftZSTD.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B60EDDB81E0A2CF100F2713B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B60EDE011E0A307A00F2713B /* DictionaryZSTDProcessor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DictionaryZSTDProcessor.swift; path = Sources/DictionaryZSTDProcessor.swift; sourceTree = ""; }; - B60EDE021E0A307A00F2713B /* ZSTDDictionaryBuilder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ZSTDDictionaryBuilder.swift; path = Sources/ZSTDDictionaryBuilder.swift; sourceTree = ""; }; - B60EDE031E0A307A00F2713B /* ZSTDProcessor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ZSTDProcessor.swift; path = Sources/ZSTDProcessor.swift; sourceTree = ""; }; - B60EDE041E0A307A00F2713B /* ZSTDProcessorCommon.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ZSTDProcessorCommon.swift; path = Sources/ZSTDProcessorCommon.swift; sourceTree = ""; }; - B60EDE0E1E0A30B000F2713B /* bitstream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bitstream.h; sourceTree = ""; }; - B60EDE0F1E0A30B000F2713B /* entropy_common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = entropy_common.c; sourceTree = ""; }; - B60EDE101E0A30B000F2713B /* error_private.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = error_private.c; sourceTree = ""; }; - B60EDE111E0A30B000F2713B /* error_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = error_private.h; sourceTree = ""; }; - B60EDE121E0A30B000F2713B /* fse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fse.h; sourceTree = ""; }; - B60EDE131E0A30B000F2713B /* fse_decompress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fse_decompress.c; sourceTree = ""; }; - B60EDE141E0A30B000F2713B /* huf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = huf.h; sourceTree = ""; }; - B60EDE151E0A30B000F2713B /* mem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mem.h; sourceTree = ""; }; - B60EDE161E0A30B000F2713B /* xxhash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xxhash.c; sourceTree = ""; }; - B60EDE171E0A30B000F2713B /* xxhash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xxhash.h; sourceTree = ""; }; - B60EDE191E0A30B000F2713B /* zstd_common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_common.c; sourceTree = ""; }; - B60EDE1B1E0A30B000F2713B /* zstd_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_internal.h; sourceTree = ""; }; - B60EDE1D1E0A30B000F2713B /* fse_compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fse_compress.c; sourceTree = ""; }; - B60EDE1E1E0A30B000F2713B /* huf_compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = huf_compress.c; sourceTree = ""; }; - B60EDE201E0A30B000F2713B /* zstd_compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_compress.c; sourceTree = ""; }; - B60EDE231E0A30B000F2713B /* huf_decompress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = huf_decompress.c; sourceTree = ""; }; - B60EDE251E0A30B000F2713B /* zstd_decompress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_decompress.c; sourceTree = ""; }; - B60EDE271E0A30B000F2713B /* divsufsort.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = divsufsort.c; sourceTree = ""; }; - B60EDE291E0A30B000F2713B /* zdict.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zdict.c; sourceTree = ""; }; - B60EDE2A1E0A30B000F2713B /* zdict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zdict.h; sourceTree = ""; }; - B60EDE2B1E0A30B000F2713B /* zstd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zstd.h; path = zstdlib/zstd.h; sourceTree = ""; }; - B60EDE7F1E0A47AF00F2713B /* SwiftZSTD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SwiftZSTD.h; sourceTree = ""; }; - B60EDE821E0A4B9500F2713B /* SwiftZSTD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SwiftZSTD.h; sourceTree = ""; }; - B68A388E23B1C2CB0097BCB7 /* debug.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = debug.c; sourceTree = ""; }; - B68A388F23B1C2CB0097BCB7 /* threading.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = threading.c; sourceTree = ""; }; - B68A389423B1C3EA0097BCB7 /* cpu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpu.h; sourceTree = ""; }; - B68A389523B1C3EA0097BCB7 /* debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = debug.h; sourceTree = ""; }; - B68A389623B1C3EA0097BCB7 /* zstd_errors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_errors.h; sourceTree = ""; }; - B68A389D23B1C42C0097BCB7 /* zstd_double_fast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_double_fast.h; sourceTree = ""; }; - B68A389E23B1C42C0097BCB7 /* zstd_compress_literals.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_compress_literals.c; sourceTree = ""; }; - B68A389F23B1C42C0097BCB7 /* zstd_compress_sequences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_compress_sequences.h; sourceTree = ""; }; - B68A38A023B1C42C0097BCB7 /* zstd_compress_literals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_compress_literals.h; sourceTree = ""; }; - B68A38A123B1C42C0097BCB7 /* zstd_lazy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_lazy.c; sourceTree = ""; }; - B68A38A223B1C42C0097BCB7 /* zstd_compress_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_compress_internal.h; sourceTree = ""; }; - B68A38A323B1C42C0097BCB7 /* zstd_ldm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_ldm.h; sourceTree = ""; }; - B68A38A423B1C42C0097BCB7 /* zstd_double_fast.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_double_fast.c; sourceTree = ""; }; - B68A38A523B1C42D0097BCB7 /* hist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hist.c; sourceTree = ""; }; - B68A38A623B1C42D0097BCB7 /* zstd_fast.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_fast.c; sourceTree = ""; }; - B68A38A723B1C42D0097BCB7 /* zstd_fast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_fast.h; sourceTree = ""; }; - B68A38A823B1C42D0097BCB7 /* zstd_ldm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_ldm.c; sourceTree = ""; }; - B68A38A923B1C42D0097BCB7 /* hist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hist.h; sourceTree = ""; }; - B68A38AA23B1C42D0097BCB7 /* zstd_cwksp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_cwksp.h; sourceTree = ""; }; - B68A38AB23B1C42D0097BCB7 /* zstd_lazy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_lazy.h; sourceTree = ""; }; - B68A38AC23B1C42D0097BCB7 /* zstd_opt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_opt.h; sourceTree = ""; }; - B68A38AD23B1C42D0097BCB7 /* zstdmt_compress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstdmt_compress.h; sourceTree = ""; }; - B68A38AE23B1C42D0097BCB7 /* zstd_opt.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_opt.c; sourceTree = ""; }; - B68A38AF23B1C42E0097BCB7 /* zstd_compress_sequences.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_compress_sequences.c; sourceTree = ""; }; - B68A38D623B1C44D0097BCB7 /* zstd_decompress_block.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_decompress_block.c; sourceTree = ""; }; - B68A38D723B1C44D0097BCB7 /* zstd_decompress_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_decompress_internal.h; sourceTree = ""; }; - B68A38D823B1C44D0097BCB7 /* zstd_ddict.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstd_ddict.c; sourceTree = ""; }; - B68A38D923B1C44D0097BCB7 /* zstd_decompress_block.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_decompress_block.h; sourceTree = ""; }; - B68A38DA23B1C44D0097BCB7 /* zstd_ddict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zstd_ddict.h; sourceTree = ""; }; - B68A38E523B1C45F0097BCB7 /* cover.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cover.h; sourceTree = ""; }; - B68A38E623B1C45F0097BCB7 /* divsufsort.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = divsufsort.h; sourceTree = ""; }; - B68A38E723B1C45F0097BCB7 /* fastcover.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fastcover.c; sourceTree = ""; }; - B6A3756823CEA74B006C8ED4 /* SwiftZSTDTests_macOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftZSTDTests_macOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - B6A3756A23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftZSTDBasicTests.swift; sourceTree = ""; }; - B6A3756C23CEA74C006C8ED4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6A3758623CEACDD006C8ED4 /* SwiftZSTDTests_iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftZSTDTests_iOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - B6A3758A23CEACDE006C8ED4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6C02D4523D683C40001675F /* iOSTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOSTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; - B6C02D4723D683C40001675F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - B6C02D4923D683C40001675F /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - B6C02D4E23D683D40001675F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - B6C02D5323D683D40001675F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6C02D5B23D687520001675F /* iOSTestApp-Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOSTestApp-Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - B6C02D5F23D687520001675F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B6E8FDF21F4FC47D007875AC /* compiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compiler.h; sourceTree = ""; }; - B6E8FDF61F4FC4B5007875AC /* pool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pool.h; sourceTree = ""; }; - B6E8FDFA1F4FC4E4007875AC /* pool.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pool.c; sourceTree = ""; }; - B6E8FDFE1F4FCA81007875AC /* cover.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cover.c; sourceTree = ""; }; - B6E8FE001F4FCAB3007875AC /* threading.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = threading.h; sourceTree = ""; }; - B6FD03531F6B6F05000202D8 /* ZSTDStream.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ZSTDStream.swift; path = Sources/ZSTDStream.swift; sourceTree = ""; }; - B6FD03561F6D1E49000202D8 /* StreamHelpers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = StreamHelpers.m; path = Sources/StreamHelpers.m; sourceTree = ""; }; - B6FD03591F6D1F75000202D8 /* StreamHelpers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StreamHelpers.h; path = Sources/StreamHelpers.h; sourceTree = ""; }; - B6FD03641F70A9F2000202D8 /* zstdmt_compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zstdmt_compress.c; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B60EDDA31E0A2C2400F2713B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B60EDDB11E0A2CF100F2713B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6A3756523CEA74B006C8ED4 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6A3756D23CEA74C006C8ED4 /* SwiftZSTD.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6A3758323CEACDD006C8ED4 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6A3758B23CEACDE006C8ED4 /* SwiftZSTD.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6C02D4223D683C40001675F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B6C02D6623D688380001675F /* SwiftZSTD.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6C02D5823D687520001675F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - B60EDD9B1E0A2AD000F2713B = { - isa = PBXGroup; - children = ( - B6A3758123CEAAC8006C8ED4 /* TestSources */, - B60EDDC61E0A2ED100F2713B /* zstdlib */, - B60EDDBD1E0A2EAA00F2713B /* Sources */, - B60EDDA91E0A2C2400F2713B /* SwiftZSTD_macOS */, - B60EDDB61E0A2CF100F2713B /* SwiftZSTD_iOS */, - B6A3756923CEA74B006C8ED4 /* SwiftZSTDTests_macOS */, - B6A3758723CEACDE006C8ED4 /* SwiftZSTDTests_iOS */, - B6C02D4623D683C40001675F /* iOSTestApp */, - B6C02D5C23D687520001675F /* iOSTestApp-Tests */, - B60EDDA81E0A2C2400F2713B /* Products */, - B618446A1E0ED5D6002381B9 /* Frameworks */, - ); - sourceTree = ""; - }; - B60EDDA81E0A2C2400F2713B /* Products */ = { - isa = PBXGroup; - children = ( - B60EDDA71E0A2C2400F2713B /* SwiftZSTD.framework */, - B60EDDB51E0A2CF100F2713B /* SwiftZSTD.framework */, - B6A3756823CEA74B006C8ED4 /* SwiftZSTDTests_macOS.xctest */, - B6A3758623CEACDD006C8ED4 /* SwiftZSTDTests_iOS.xctest */, - B6C02D4523D683C40001675F /* iOSTestApp.app */, - B6C02D5B23D687520001675F /* iOSTestApp-Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - B60EDDA91E0A2C2400F2713B /* SwiftZSTD_macOS */ = { - isa = PBXGroup; - children = ( - B60EDE7F1E0A47AF00F2713B /* SwiftZSTD.h */, - B60EDDAB1E0A2C2400F2713B /* Info.plist */, - ); - path = SwiftZSTD_macOS; - sourceTree = ""; - }; - B60EDDB61E0A2CF100F2713B /* SwiftZSTD_iOS */ = { - isa = PBXGroup; - children = ( - B60EDE821E0A4B9500F2713B /* SwiftZSTD.h */, - B60EDDB81E0A2CF100F2713B /* Info.plist */, - ); - path = SwiftZSTD_iOS; - sourceTree = ""; - }; - B60EDDBD1E0A2EAA00F2713B /* Sources */ = { - isa = PBXGroup; - children = ( - B6FD03531F6B6F05000202D8 /* ZSTDStream.swift */, - B60EDE011E0A307A00F2713B /* DictionaryZSTDProcessor.swift */, - B60EDE021E0A307A00F2713B /* ZSTDDictionaryBuilder.swift */, - B60EDE031E0A307A00F2713B /* ZSTDProcessor.swift */, - B60EDE041E0A307A00F2713B /* ZSTDProcessorCommon.swift */, - B6FD03561F6D1E49000202D8 /* StreamHelpers.m */, - B6FD03591F6D1F75000202D8 /* StreamHelpers.h */, - ); - name = Sources; - sourceTree = ""; - }; - B60EDDC61E0A2ED100F2713B /* zstdlib */ = { - isa = PBXGroup; - children = ( - B60EDE0D1E0A30B000F2713B /* common */, - B60EDE1C1E0A30B000F2713B /* compress */, - B60EDE221E0A30B000F2713B /* decompress */, - B60EDE261E0A30B000F2713B /* dictBuilder */, - B60EDE2B1E0A30B000F2713B /* zstd.h */, - ); - name = zstdlib; - sourceTree = ""; - }; - B60EDE0D1E0A30B000F2713B /* common */ = { - isa = PBXGroup; - children = ( - B68A389423B1C3EA0097BCB7 /* cpu.h */, - B68A389523B1C3EA0097BCB7 /* debug.h */, - B68A389623B1C3EA0097BCB7 /* zstd_errors.h */, - B68A388E23B1C2CB0097BCB7 /* debug.c */, - B68A388F23B1C2CB0097BCB7 /* threading.c */, - B6E8FE001F4FCAB3007875AC /* threading.h */, - B60EDE0E1E0A30B000F2713B /* bitstream.h */, - B6E8FDF21F4FC47D007875AC /* compiler.h */, - B60EDE0F1E0A30B000F2713B /* entropy_common.c */, - B60EDE101E0A30B000F2713B /* error_private.c */, - B60EDE111E0A30B000F2713B /* error_private.h */, - B60EDE131E0A30B000F2713B /* fse_decompress.c */, - B60EDE121E0A30B000F2713B /* fse.h */, - B60EDE141E0A30B000F2713B /* huf.h */, - B60EDE151E0A30B000F2713B /* mem.h */, - B6E8FDFA1F4FC4E4007875AC /* pool.c */, - B6E8FDF61F4FC4B5007875AC /* pool.h */, - B60EDE161E0A30B000F2713B /* xxhash.c */, - B60EDE171E0A30B000F2713B /* xxhash.h */, - B60EDE191E0A30B000F2713B /* zstd_common.c */, - B60EDE1B1E0A30B000F2713B /* zstd_internal.h */, - ); - name = common; - path = zstdlib/common; - sourceTree = ""; - }; - B60EDE1C1E0A30B000F2713B /* compress */ = { - isa = PBXGroup; - children = ( - B68A38A523B1C42D0097BCB7 /* hist.c */, - B68A38A923B1C42D0097BCB7 /* hist.h */, - B68A38A223B1C42C0097BCB7 /* zstd_compress_internal.h */, - B68A389E23B1C42C0097BCB7 /* zstd_compress_literals.c */, - B68A38A023B1C42C0097BCB7 /* zstd_compress_literals.h */, - B68A38AF23B1C42E0097BCB7 /* zstd_compress_sequences.c */, - B68A389F23B1C42C0097BCB7 /* zstd_compress_sequences.h */, - B68A38AA23B1C42D0097BCB7 /* zstd_cwksp.h */, - B68A38A423B1C42C0097BCB7 /* zstd_double_fast.c */, - B68A389D23B1C42C0097BCB7 /* zstd_double_fast.h */, - B68A38A623B1C42D0097BCB7 /* zstd_fast.c */, - B68A38A723B1C42D0097BCB7 /* zstd_fast.h */, - B68A38A123B1C42C0097BCB7 /* zstd_lazy.c */, - B68A38AB23B1C42D0097BCB7 /* zstd_lazy.h */, - B68A38A823B1C42D0097BCB7 /* zstd_ldm.c */, - B68A38A323B1C42C0097BCB7 /* zstd_ldm.h */, - B68A38AE23B1C42D0097BCB7 /* zstd_opt.c */, - B68A38AC23B1C42D0097BCB7 /* zstd_opt.h */, - B68A38AD23B1C42D0097BCB7 /* zstdmt_compress.h */, - B6FD03641F70A9F2000202D8 /* zstdmt_compress.c */, - B60EDE1D1E0A30B000F2713B /* fse_compress.c */, - B60EDE1E1E0A30B000F2713B /* huf_compress.c */, - B60EDE201E0A30B000F2713B /* zstd_compress.c */, - ); - name = compress; - path = zstdlib/compress; - sourceTree = ""; - }; - B60EDE221E0A30B000F2713B /* decompress */ = { - isa = PBXGroup; - children = ( - B68A38D823B1C44D0097BCB7 /* zstd_ddict.c */, - B68A38DA23B1C44D0097BCB7 /* zstd_ddict.h */, - B68A38D623B1C44D0097BCB7 /* zstd_decompress_block.c */, - B68A38D923B1C44D0097BCB7 /* zstd_decompress_block.h */, - B68A38D723B1C44D0097BCB7 /* zstd_decompress_internal.h */, - B60EDE231E0A30B000F2713B /* huf_decompress.c */, - B60EDE251E0A30B000F2713B /* zstd_decompress.c */, - ); - name = decompress; - path = zstdlib/decompress; - sourceTree = ""; - }; - B60EDE261E0A30B000F2713B /* dictBuilder */ = { - isa = PBXGroup; - children = ( - B68A38E523B1C45F0097BCB7 /* cover.h */, - B68A38E623B1C45F0097BCB7 /* divsufsort.h */, - B68A38E723B1C45F0097BCB7 /* fastcover.c */, - B6E8FDFE1F4FCA81007875AC /* cover.c */, - B60EDE271E0A30B000F2713B /* divsufsort.c */, - B60EDE291E0A30B000F2713B /* zdict.c */, - B60EDE2A1E0A30B000F2713B /* zdict.h */, - ); - name = dictBuilder; - path = zstdlib/dictBuilder; - sourceTree = ""; - }; - B618446A1E0ED5D6002381B9 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; - B6A3756923CEA74B006C8ED4 /* SwiftZSTDTests_macOS */ = { - isa = PBXGroup; - children = ( - B6A3756C23CEA74C006C8ED4 /* Info.plist */, - ); - path = SwiftZSTDTests_macOS; - sourceTree = ""; - }; - B6A3758123CEAAC8006C8ED4 /* TestSources */ = { - isa = PBXGroup; - children = ( - B6A3756A23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift */, - ); - path = TestSources; - sourceTree = ""; - }; - B6A3758723CEACDE006C8ED4 /* SwiftZSTDTests_iOS */ = { - isa = PBXGroup; - children = ( - B6A3758A23CEACDE006C8ED4 /* Info.plist */, - ); - path = SwiftZSTDTests_iOS; - sourceTree = ""; - }; - B6C02D4623D683C40001675F /* iOSTestApp */ = { - isa = PBXGroup; - children = ( - B6C02D4723D683C40001675F /* AppDelegate.swift */, - B6C02D4923D683C40001675F /* ViewController.swift */, - B6C02D4E23D683D40001675F /* Assets.xcassets */, - B6C02D5323D683D40001675F /* Info.plist */, - ); - path = iOSTestApp; - sourceTree = ""; - }; - B6C02D5C23D687520001675F /* iOSTestApp-Tests */ = { - isa = PBXGroup; - children = ( - B6C02D5F23D687520001675F /* Info.plist */, - ); - path = "iOSTestApp-Tests"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - B60EDDA41E0A2C2400F2713B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B6E8FDF71F4FC4B5007875AC /* pool.h in Headers */, - B60EDE3A1E0A30B000F2713B /* mem.h in Headers */, - B60EDE601E0A30B000F2713B /* zstd.h in Headers */, - B68A38C423B1C42E0097BCB7 /* zstd_fast.h in Headers */, - B68A38CE23B1C42E0097BCB7 /* zstd_opt.h in Headers */, - B60EDE3E1E0A30B000F2713B /* xxhash.h in Headers */, - B68A389923B1C3EA0097BCB7 /* debug.h in Headers */, - B60EDE801E0A47AF00F2713B /* SwiftZSTD.h in Headers */, - B68A38DD23B1C44D0097BCB7 /* zstd_decompress_internal.h in Headers */, - B6E8FDF31F4FC47D007875AC /* compiler.h in Headers */, - B68A38BC23B1C42E0097BCB7 /* zstd_ldm.h in Headers */, - B68A38B423B1C42E0097BCB7 /* zstd_compress_sequences.h in Headers */, - B6E8FE011F4FCAB3007875AC /* threading.h in Headers */, - B60EDE5E1E0A30B000F2713B /* zdict.h in Headers */, - B68A38C823B1C42E0097BCB7 /* hist.h in Headers */, - B68A389B23B1C3EA0097BCB7 /* zstd_errors.h in Headers */, - B60EDE2C1E0A30B000F2713B /* bitstream.h in Headers */, - B68A38D023B1C42E0097BCB7 /* zstdmt_compress.h in Headers */, - B60EDE461E0A30B000F2713B /* zstd_internal.h in Headers */, - B68A38B623B1C42E0097BCB7 /* zstd_compress_literals.h in Headers */, - B68A38EA23B1C45F0097BCB7 /* divsufsort.h in Headers */, - B68A38BA23B1C42E0097BCB7 /* zstd_compress_internal.h in Headers */, - B60EDE341E0A30B000F2713B /* fse.h in Headers */, - B68A38E323B1C44D0097BCB7 /* zstd_ddict.h in Headers */, - B68A38CA23B1C42E0097BCB7 /* zstd_cwksp.h in Headers */, - B60EDE381E0A30B000F2713B /* huf.h in Headers */, - B68A389723B1C3EA0097BCB7 /* cpu.h in Headers */, - B6FD035C1F6D20CF000202D8 /* StreamHelpers.h in Headers */, - B68A38E123B1C44D0097BCB7 /* zstd_decompress_block.h in Headers */, - B68A38E823B1C45F0097BCB7 /* cover.h in Headers */, - B68A38CC23B1C42E0097BCB7 /* zstd_lazy.h in Headers */, - B68A38B023B1C42E0097BCB7 /* zstd_double_fast.h in Headers */, - B60EDE321E0A30B000F2713B /* error_private.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B60EDDB21E0A2CF100F2713B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - B68A38BD23B1C42E0097BCB7 /* zstd_ldm.h in Headers */, - B60EDE3B1E0A30B000F2713B /* mem.h in Headers */, - B6FD035D1F6D20D6000202D8 /* StreamHelpers.h in Headers */, - B60EDE611E0A30B000F2713B /* zstd.h in Headers */, - B68A389823B1C3EA0097BCB7 /* cpu.h in Headers */, - B60EDE3F1E0A30B000F2713B /* xxhash.h in Headers */, - B68A38D123B1C42E0097BCB7 /* zstdmt_compress.h in Headers */, - B60EDE5F1E0A30B000F2713B /* zdict.h in Headers */, - B68A38CF23B1C42E0097BCB7 /* zstd_opt.h in Headers */, - B68A38CD23B1C42E0097BCB7 /* zstd_lazy.h in Headers */, - B68A389C23B1C3EA0097BCB7 /* zstd_errors.h in Headers */, - B68A38EB23B1C45F0097BCB7 /* divsufsort.h in Headers */, - B68A38E223B1C44D0097BCB7 /* zstd_decompress_block.h in Headers */, - B68A38CB23B1C42E0097BCB7 /* zstd_cwksp.h in Headers */, - B60EDE2D1E0A30B000F2713B /* bitstream.h in Headers */, - B68A38BB23B1C42E0097BCB7 /* zstd_compress_internal.h in Headers */, - B60EDE841E0A4B9500F2713B /* SwiftZSTD.h in Headers */, - B60EDE471E0A30B000F2713B /* zstd_internal.h in Headers */, - B68A38B523B1C42E0097BCB7 /* zstd_compress_sequences.h in Headers */, - B68A38E423B1C44D0097BCB7 /* zstd_ddict.h in Headers */, - B68A38B123B1C42E0097BCB7 /* zstd_double_fast.h in Headers */, - B68A389A23B1C3EA0097BCB7 /* debug.h in Headers */, - B60EDE351E0A30B000F2713B /* fse.h in Headers */, - B68A38B723B1C42E0097BCB7 /* zstd_compress_literals.h in Headers */, - B60EDE391E0A30B000F2713B /* huf.h in Headers */, - B68A38C923B1C42E0097BCB7 /* hist.h in Headers */, - B68A38E923B1C45F0097BCB7 /* cover.h in Headers */, - B60EDE331E0A30B000F2713B /* error_private.h in Headers */, - B68A38C523B1C42E0097BCB7 /* zstd_fast.h in Headers */, - B68A38DE23B1C44D0097BCB7 /* zstd_decompress_internal.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - B60EDDA61E0A2C2400F2713B /* SwiftZSTD_macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = B60EDDAF1E0A2C2400F2713B /* Build configuration list for PBXNativeTarget "SwiftZSTD_macOS" */; - buildPhases = ( - B60EDDA21E0A2C2400F2713B /* Sources */, - B60EDDA31E0A2C2400F2713B /* Frameworks */, - B60EDDA41E0A2C2400F2713B /* Headers */, - B60EDDA51E0A2C2400F2713B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SwiftZSTD_macOS; - productName = SwiftZSTD_macOS; - productReference = B60EDDA71E0A2C2400F2713B /* SwiftZSTD.framework */; - productType = "com.apple.product-type.framework"; - }; - B60EDDB41E0A2CF100F2713B /* SwiftZSTD_iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = B60EDDBA1E0A2CF100F2713B /* Build configuration list for PBXNativeTarget "SwiftZSTD_iOS" */; - buildPhases = ( - B60EDDB01E0A2CF100F2713B /* Sources */, - B60EDDB11E0A2CF100F2713B /* Frameworks */, - B60EDDB21E0A2CF100F2713B /* Headers */, - B60EDDB31E0A2CF100F2713B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SwiftZSTD_iOS; - productName = SwiftZSTD_iOS; - productReference = B60EDDB51E0A2CF100F2713B /* SwiftZSTD.framework */; - productType = "com.apple.product-type.framework"; - }; - B6A3756723CEA74B006C8ED4 /* SwiftZSTDTests_macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = B6A3757223CEA74C006C8ED4 /* Build configuration list for PBXNativeTarget "SwiftZSTDTests_macOS" */; - buildPhases = ( - B6A3756423CEA74B006C8ED4 /* Sources */, - B6A3756523CEA74B006C8ED4 /* Frameworks */, - B6A3756623CEA74B006C8ED4 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - B6A3756F23CEA74C006C8ED4 /* PBXTargetDependency */, - ); - name = SwiftZSTDTests_macOS; - productName = SwiftZSTDTests_macOS; - productReference = B6A3756823CEA74B006C8ED4 /* SwiftZSTDTests_macOS.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - B6A3758523CEACDD006C8ED4 /* SwiftZSTDTests_iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = B6A3758E23CEACDE006C8ED4 /* Build configuration list for PBXNativeTarget "SwiftZSTDTests_iOS" */; - buildPhases = ( - B6A3758223CEACDD006C8ED4 /* Sources */, - B6A3758323CEACDD006C8ED4 /* Frameworks */, - B6A3758423CEACDD006C8ED4 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - B6A3758D23CEACDE006C8ED4 /* PBXTargetDependency */, - ); - name = SwiftZSTDTests_iOS; - productName = SwiftZSTDTests_iOS; - productReference = B6A3758623CEACDD006C8ED4 /* SwiftZSTDTests_iOS.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - B6C02D4423D683C40001675F /* iOSTestApp */ = { - isa = PBXNativeTarget; - buildConfigurationList = B6C02D5623D683D40001675F /* Build configuration list for PBXNativeTarget "iOSTestApp" */; - buildPhases = ( - B6C02D4123D683C40001675F /* Sources */, - B6C02D4223D683C40001675F /* Frameworks */, - B6C02D4323D683C40001675F /* Resources */, - B6C02D6B23D688A60001675F /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - B6C02D6A23D688A60001675F /* PBXTargetDependency */, - ); - name = iOSTestApp; - productName = iOSTestApp; - productReference = B6C02D4523D683C40001675F /* iOSTestApp.app */; - productType = "com.apple.product-type.application"; - }; - B6C02D5A23D687520001675F /* iOSTestApp-Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B6C02D6223D687520001675F /* Build configuration list for PBXNativeTarget "iOSTestApp-Tests" */; - buildPhases = ( - B6C02D5723D687520001675F /* Sources */, - B6C02D5823D687520001675F /* Frameworks */, - B6C02D5923D687520001675F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - B6C02D6123D687520001675F /* PBXTargetDependency */, - ); - name = "iOSTestApp-Tests"; - productName = "iOSTestApp-Tests"; - productReference = B6C02D5B23D687520001675F /* iOSTestApp-Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B60EDD9C1E0A2AD000F2713B /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1010; - LastUpgradeCheck = 0940; - TargetAttributes = { - B60EDDA61E0A2C2400F2713B = { - CreatedOnToolsVersion = 8.2.1; - LastSwiftMigration = 0900; - ProvisioningStyle = Automatic; - }; - B60EDDB41E0A2CF100F2713B = { - CreatedOnToolsVersion = 8.2.1; - DevelopmentTeam = M3M9FW7E9Y; - LastSwiftMigration = 0940; - ProvisioningStyle = Automatic; - }; - B6A3756723CEA74B006C8ED4 = { - CreatedOnToolsVersion = 10.1; - DevelopmentTeam = M3M9FW7E9Y; - ProvisioningStyle = Automatic; - }; - B6A3758523CEACDD006C8ED4 = { - CreatedOnToolsVersion = 10.1; - DevelopmentTeam = M3M9FW7E9Y; - ProvisioningStyle = Automatic; - }; - B6C02D4423D683C40001675F = { - CreatedOnToolsVersion = 10.1; - DevelopmentTeam = M3M9FW7E9Y; - ProvisioningStyle = Automatic; - }; - B6C02D5A23D687520001675F = { - CreatedOnToolsVersion = 10.1; - DevelopmentTeam = M3M9FW7E9Y; - ProvisioningStyle = Automatic; - TestTargetID = B6C02D4423D683C40001675F; - }; - }; - }; - buildConfigurationList = B60EDD9F1E0A2AD000F2713B /* Build configuration list for PBXProject "SwiftZSTD" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B60EDD9B1E0A2AD000F2713B; - productRefGroup = B60EDDA81E0A2C2400F2713B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B60EDDA61E0A2C2400F2713B /* SwiftZSTD_macOS */, - B60EDDB41E0A2CF100F2713B /* SwiftZSTD_iOS */, - B6A3756723CEA74B006C8ED4 /* SwiftZSTDTests_macOS */, - B6A3758523CEACDD006C8ED4 /* SwiftZSTDTests_iOS */, - B6C02D4423D683C40001675F /* iOSTestApp */, - B6C02D5A23D687520001675F /* iOSTestApp-Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B60EDDA51E0A2C2400F2713B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B60EDDB31E0A2CF100F2713B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6A3756623CEA74B006C8ED4 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6A3758423CEACDD006C8ED4 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6C02D4323D683C40001675F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6C02D4F23D683D40001675F /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6C02D5923D687520001675F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - B60EDDA21E0A2C2400F2713B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B60EDE2E1E0A30B000F2713B /* entropy_common.c in Sources */, - B60EDE091E0A307A00F2713B /* ZSTDProcessor.swift in Sources */, - B68A389223B1C2CB0097BCB7 /* threading.c in Sources */, - B68A38C623B1C42E0097BCB7 /* zstd_ldm.c in Sources */, - B60EDE0B1E0A307A00F2713B /* ZSTDProcessorCommon.swift in Sources */, - B6E8FDFF1F4FCA81007875AC /* cover.c in Sources */, - B68A38C023B1C42E0097BCB7 /* hist.c in Sources */, - B60EDE071E0A307A00F2713B /* ZSTDDictionaryBuilder.swift in Sources */, - B60EDE521E0A30B000F2713B /* huf_decompress.c in Sources */, - B68A38BE23B1C42E0097BCB7 /* zstd_double_fast.c in Sources */, - B60EDE581E0A30B000F2713B /* divsufsort.c in Sources */, - B68A38DB23B1C44D0097BCB7 /* zstd_decompress_block.c in Sources */, - B68A38C223B1C42E0097BCB7 /* zstd_fast.c in Sources */, - B68A38EC23B1C45F0097BCB7 /* fastcover.c in Sources */, - B68A38D223B1C42E0097BCB7 /* zstd_opt.c in Sources */, - B60EDE5C1E0A30B000F2713B /* zdict.c in Sources */, - B6FD03571F6D1E49000202D8 /* StreamHelpers.m in Sources */, - B60EDE481E0A30B000F2713B /* fse_compress.c in Sources */, - B60EDE361E0A30B000F2713B /* fse_decompress.c in Sources */, - B60EDE421E0A30B000F2713B /* zstd_common.c in Sources */, - B6FD03651F70A9F2000202D8 /* zstdmt_compress.c in Sources */, - B60EDE4E1E0A30B000F2713B /* zstd_compress.c in Sources */, - B60EDE4A1E0A30B000F2713B /* huf_compress.c in Sources */, - B68A38B223B1C42E0097BCB7 /* zstd_compress_literals.c in Sources */, - B60EDE561E0A30B000F2713B /* zstd_decompress.c in Sources */, - B60EDE3C1E0A30B000F2713B /* xxhash.c in Sources */, - B68A38DF23B1C44D0097BCB7 /* zstd_ddict.c in Sources */, - B68A389023B1C2CB0097BCB7 /* debug.c in Sources */, - B6FD03541F6B6F05000202D8 /* ZSTDStream.swift in Sources */, - B68A38D423B1C42E0097BCB7 /* zstd_compress_sequences.c in Sources */, - B68A38B823B1C42E0097BCB7 /* zstd_lazy.c in Sources */, - B60EDE301E0A30B000F2713B /* error_private.c in Sources */, - B60EDE051E0A307A00F2713B /* DictionaryZSTDProcessor.swift in Sources */, - B6E8FDFB1F4FC4E4007875AC /* pool.c in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B60EDDB01E0A2CF100F2713B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B60EDE2F1E0A30B000F2713B /* entropy_common.c in Sources */, - B60EDE0A1E0A307A00F2713B /* ZSTDProcessor.swift in Sources */, - B68A389323B1C2CB0097BCB7 /* threading.c in Sources */, - B68A38C723B1C42E0097BCB7 /* zstd_ldm.c in Sources */, - B6E8FE051F4FCD68007875AC /* cover.c in Sources */, - B60EDE081E0A307A00F2713B /* ZSTDDictionaryBuilder.swift in Sources */, - B68A38C123B1C42E0097BCB7 /* hist.c in Sources */, - B60EDE0C1E0A307A00F2713B /* ZSTDProcessorCommon.swift in Sources */, - B60EDE531E0A30B000F2713B /* huf_decompress.c in Sources */, - B68A38BF23B1C42E0097BCB7 /* zstd_double_fast.c in Sources */, - B60EDE591E0A30B000F2713B /* divsufsort.c in Sources */, - B68A38DC23B1C44D0097BCB7 /* zstd_decompress_block.c in Sources */, - B68A38C323B1C42E0097BCB7 /* zstd_fast.c in Sources */, - B68A38ED23B1C45F0097BCB7 /* fastcover.c in Sources */, - B68A38D323B1C42E0097BCB7 /* zstd_opt.c in Sources */, - B6FD03581F6D1E49000202D8 /* StreamHelpers.m in Sources */, - B60EDE5D1E0A30B000F2713B /* zdict.c in Sources */, - B6E8FE061F4FCD6F007875AC /* pool.c in Sources */, - B60EDE491E0A30B000F2713B /* fse_compress.c in Sources */, - B60EDE371E0A30B000F2713B /* fse_decompress.c in Sources */, - B6FD03661F70A9F2000202D8 /* zstdmt_compress.c in Sources */, - B60EDE431E0A30B000F2713B /* zstd_common.c in Sources */, - B60EDE4F1E0A30B000F2713B /* zstd_compress.c in Sources */, - B68A38B323B1C42E0097BCB7 /* zstd_compress_literals.c in Sources */, - B60EDE4B1E0A30B000F2713B /* huf_compress.c in Sources */, - B60EDE571E0A30B000F2713B /* zstd_decompress.c in Sources */, - B68A38E023B1C44D0097BCB7 /* zstd_ddict.c in Sources */, - B68A389123B1C2CB0097BCB7 /* debug.c in Sources */, - B6FD03551F6B6F05000202D8 /* ZSTDStream.swift in Sources */, - B68A38D523B1C42E0097BCB7 /* zstd_compress_sequences.c in Sources */, - B68A38B923B1C42E0097BCB7 /* zstd_lazy.c in Sources */, - B60EDE3D1E0A30B000F2713B /* xxhash.c in Sources */, - B60EDE311E0A30B000F2713B /* error_private.c in Sources */, - B60EDE061E0A307A00F2713B /* DictionaryZSTDProcessor.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6A3756423CEA74B006C8ED4 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6A3756B23CEA74C006C8ED4 /* SwiftZSTDBasicTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6A3758223CEACDD006C8ED4 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6A3759123CEACFB006C8ED4 /* SwiftZSTDBasicTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6C02D4123D683C40001675F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6C02D4A23D683C40001675F /* ViewController.swift in Sources */, - B6C02D4823D683C40001675F /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B6C02D5723D687520001675F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B6C02D6523D6879F0001675F /* SwiftZSTDBasicTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - B6A3756F23CEA74C006C8ED4 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B60EDDA61E0A2C2400F2713B /* SwiftZSTD_macOS */; - targetProxy = B6A3756E23CEA74C006C8ED4 /* PBXContainerItemProxy */; - }; - B6A3758D23CEACDE006C8ED4 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B60EDDB41E0A2CF100F2713B /* SwiftZSTD_iOS */; - targetProxy = B6A3758C23CEACDE006C8ED4 /* PBXContainerItemProxy */; - }; - B6C02D6123D687520001675F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B6C02D4423D683C40001675F /* iOSTestApp */; - targetProxy = B6C02D6023D687520001675F /* PBXContainerItemProxy */; - }; - B6C02D6A23D688A60001675F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = B60EDDB41E0A2CF100F2713B /* SwiftZSTD_iOS */; - targetProxy = B6C02D6923D688A60001675F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - B60EDDA01E0A2AD000F2713B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ONLY_ACTIVE_ARCH = YES; - }; - name = Debug; - }; - B60EDDA11E0A2AD000F2713B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - }; - name = Release; - }; - B60EDDAD1E0A2C2400F2713B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = ""; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = SwiftZSTD_macOS/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ""; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - OTHER_CFLAGS = "-Wno-comma"; - PRODUCT_BUNDLE_IDENTIFIER = com.self.SwiftZSTD; - PRODUCT_NAME = SwiftZSTD; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B60EDDAE1E0A2C2400F2713B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = ""; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = SwiftZSTD_macOS/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ""; - MACOSX_DEPLOYMENT_TARGET = 10.11; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_CFLAGS = "-Wno-comma"; - PRODUCT_BUNDLE_IDENTIFIER = com.self.SwiftZSTD; - PRODUCT_NAME = SwiftZSTD; - SDKROOT = macosx; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - B60EDDBB1E0A2CF100F2713B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = SwiftZSTD_iOS/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - OTHER_CFLAGS = "-Wno-comma"; - PRODUCT_BUNDLE_IDENTIFIER = com.self.SwiftZSTD; - PRODUCT_NAME = SwiftZSTD; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B60EDDBC1E0A2CF100F2713B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = SwiftZSTD_iOS/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_CFLAGS = "-Wno-comma"; - PRODUCT_BUNDLE_IDENTIFIER = com.self.SwiftZSTD; - PRODUCT_NAME = SwiftZSTD; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - B6A3757023CEA74C006C8ED4 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "Mac Developer"; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = SwiftZSTDTests_macOS/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "me.anatoli.SwiftZSTDTests-macOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - B6A3757123CEA74C006C8ED4 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "Mac Developer"; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = SwiftZSTDTests_macOS/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.13; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "me.anatoli.SwiftZSTDTests-macOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - B6A3758F23CEACDE006C8ED4 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = SwiftZSTDTests_iOS/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "me.anatoli.SwiftZSTDTests-iOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - B6A3759023CEACDE006C8ED4 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = SwiftZSTDTests_iOS/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "me.anatoli.SwiftZSTDTests-iOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - B6C02D5423D683D40001675F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = iOSTestApp/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = me.anatoli.iOSTestApp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - B6C02D5523D683D40001675F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = iOSTestApp/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = me.anatoli.iOSTestApp; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - B6C02D6323D687520001675F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = "iOSTestApp-Tests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "me.anatoli.iOSTestApp-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSTestApp.app/iOSTestApp"; - }; - name = Debug; - }; - B6C02D6423D687520001675F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = M3M9FW7E9Y; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = "iOSTestApp-Tests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = "me.anatoli.iOSTestApp-Tests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSTestApp.app/iOSTestApp"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B60EDD9F1E0A2AD000F2713B /* Build configuration list for PBXProject "SwiftZSTD" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B60EDDA01E0A2AD000F2713B /* Debug */, - B60EDDA11E0A2AD000F2713B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B60EDDAF1E0A2C2400F2713B /* Build configuration list for PBXNativeTarget "SwiftZSTD_macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B60EDDAD1E0A2C2400F2713B /* Debug */, - B60EDDAE1E0A2C2400F2713B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B60EDDBA1E0A2CF100F2713B /* Build configuration list for PBXNativeTarget "SwiftZSTD_iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B60EDDBB1E0A2CF100F2713B /* Debug */, - B60EDDBC1E0A2CF100F2713B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B6A3757223CEA74C006C8ED4 /* Build configuration list for PBXNativeTarget "SwiftZSTDTests_macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6A3757023CEA74C006C8ED4 /* Debug */, - B6A3757123CEA74C006C8ED4 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B6A3758E23CEACDE006C8ED4 /* Build configuration list for PBXNativeTarget "SwiftZSTDTests_iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6A3758F23CEACDE006C8ED4 /* Debug */, - B6A3759023CEACDE006C8ED4 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B6C02D5623D683D40001675F /* Build configuration list for PBXNativeTarget "iOSTestApp" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6C02D5423D683D40001675F /* Debug */, - B6C02D5523D683D40001675F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B6C02D6223D687520001675F /* Build configuration list for PBXNativeTarget "iOSTestApp-Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B6C02D6323D687520001675F /* Debug */, - B6C02D6423D687520001675F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B60EDD9C1E0A2AD000F2713B /* Project object */; -} diff --git a/SwiftZSTD.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SwiftZSTD.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 8cfa54f..0000000 --- a/SwiftZSTD.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/SwiftZSTD_iOS.xcscheme b/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/SwiftZSTD_iOS.xcscheme deleted file mode 100644 index f55274c..0000000 --- a/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/SwiftZSTD_iOS.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/SwiftZSTD_macOS.xcscheme b/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/SwiftZSTD_macOS.xcscheme deleted file mode 100644 index 38e7769..0000000 --- a/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/SwiftZSTD_macOS.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/iOSTestApp.xcscheme b/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/iOSTestApp.xcscheme deleted file mode 100644 index 4178eab..0000000 --- a/SwiftZSTD.xcodeproj/xcshareddata/xcschemes/iOSTestApp.xcscheme +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SwiftZSTD.xcworkspace/contents.xcworkspacedata b/SwiftZSTD.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 0193375..0000000 --- a/SwiftZSTD.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/SwiftZSTD.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SwiftZSTD.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/SwiftZSTD.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/SwiftZSTDTests_iOS/Info.plist b/SwiftZSTDTests_iOS/Info.plist deleted file mode 100644 index 6c40a6c..0000000 --- a/SwiftZSTDTests_iOS/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/SwiftZSTDTests_macOS/Info.plist b/SwiftZSTDTests_macOS/Info.plist deleted file mode 100644 index 6c40a6c..0000000 --- a/SwiftZSTDTests_macOS/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/SwiftZSTD_iOS/Info.plist b/SwiftZSTD_iOS/Info.plist deleted file mode 100644 index fbe1e6b..0000000 --- a/SwiftZSTD_iOS/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/SwiftZSTD_iOS/SwiftZSTD.h b/SwiftZSTD_iOS/SwiftZSTD.h deleted file mode 100644 index 41b57bd..0000000 --- a/SwiftZSTD_iOS/SwiftZSTD.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// SwiftZSTD_iOS.h -// SwiftZSTD_iOS -// -// Created by Anatoli on 12/20/16. -// -// - -#import - -//! Project version number for SwiftZSTD_iOS. -FOUNDATION_EXPORT double SwiftZSTDVersionNumber; - -//! Project version string for SwiftZSTD_iOS. -FOUNDATION_EXPORT const unsigned char SwiftZSTDVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - -#import "zstd.h" -#import "zdict.h" - -#import "StreamHelpers.h" - diff --git a/SwiftZSTD_macOS/Info.plist b/SwiftZSTD_macOS/Info.plist deleted file mode 100644 index fbe1e6b..0000000 --- a/SwiftZSTD_macOS/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/TestSources/SwiftZSTDBasicTests.swift b/Tests/SwiftZSTDTests/SwiftZSTDBasicTests.swift similarity index 87% rename from TestSources/SwiftZSTDBasicTests.swift rename to Tests/SwiftZSTDTests/SwiftZSTDBasicTests.swift index 9ca8b45..cc0b45f 100644 --- a/TestSources/SwiftZSTDBasicTests.swift +++ b/Tests/SwiftZSTDTests/SwiftZSTDBasicTests.swift @@ -13,7 +13,7 @@ class SwiftZSTDBasicTests: XCTestCase { checkPlatform() if let dictData = getDictionary() { - let origData = Data(bytes: [123, 231, 132, 100, 20, 10, 5, 2, 1]) + let origData = Data([123, 231, 132, 100, 20, 10, 5, 2, 1]) if let compData = compressWithDictionary(origData, dictData) { if let decompData = decompressWithDictionary(compData, dictData) { XCTAssertEqual(decompData, origData, @@ -28,7 +28,7 @@ class SwiftZSTDBasicTests: XCTestCase { let processor = ZSTDProcessor(useContext: true) - let origData = Data(bytes: [3, 4, 12, 244, 32, 7, 10, 12, 13, 111, 222, 133]) + let origData = Data([3, 4, 12, 244, 32, 7, 10, 12, 13, 111, 222, 133]) do { let compressedData = try processor.compressBuffer(origData, compressionLevel: 4) @@ -58,14 +58,14 @@ class SwiftZSTDBasicTests: XCTestCase { private func getDictionary() -> Data? { var samples = [Data]() - samples.append(Data(bytes: Array(10...250))) - samples.append(Data(bytes: Array(repeating: 123, count: 100_000))) - samples.append(Data(bytes: [1,3,4,7,11])) - samples.append(Data(bytes: [0,0,1,1,5,5])) - samples.append(Data(bytes: Array(100...240))) - samples.append(Data(bytes: Array(repeating: 230, count: 100_000))) - samples.append(Data(bytes: [10,30,40,70,110])) - samples.append(Data(bytes: [10,20,10,1,15,50])) + samples.append(Data(Array(10...250))) + samples.append(Data(Array(repeating: 123, count: 100_000))) + samples.append(Data([1,3,4,7,11])) + samples.append(Data([0,0,1,1,5,5])) + samples.append(Data(Array(100...240))) + samples.append(Data(Array(repeating: 230, count: 100_000))) + samples.append(Data([10,30,40,70,110])) + samples.append(Data([10,20,10,1,15,50])) do { return try buildDictionary(fromSamples: samples) diff --git a/iOSTestApp-Tests/Info.plist b/iOSTestApp-Tests/Info.plist deleted file mode 100644 index 6c40a6c..0000000 --- a/iOSTestApp-Tests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/iOSTestApp/AppDelegate.swift b/iOSTestApp/AppDelegate.swift deleted file mode 100644 index 761c25d..0000000 --- a/iOSTestApp/AppDelegate.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// AppDelegate.swift -// iOSTestApp -// -// Created by Anatoli on 1/20/20. -// - -import UIKit - -/** - * This is a GUI-less app for testing SwiftZSTD on a real iOS device. - * Alternatively one can test the SwiftZSTD_iOS target on a simulator. - * Either way the set of tests is the same one that is used for testing - * the SwiftZSTD_macOS target. - */ - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - return true - } -} - diff --git a/iOSTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/iOSTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d8db8d6..0000000 --- a/iOSTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/iOSTestApp/Assets.xcassets/Contents.json b/iOSTestApp/Assets.xcassets/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/iOSTestApp/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/iOSTestApp/Info.plist b/iOSTestApp/Info.plist deleted file mode 100644 index 4222ac2..0000000 --- a/iOSTestApp/Info.plist +++ /dev/null @@ -1,43 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/iOSTestApp/ViewController.swift b/iOSTestApp/ViewController.swift deleted file mode 100644 index 79964bd..0000000 --- a/iOSTestApp/ViewController.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// ViewController.swift -// iOSTestApp -// -// Created by Anatoli on 1/20/20. -// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } -} -