File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
CryptomatorCryptoLib.xcodeproj
Sources/CryptomatorCryptoLib Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 362362 MTL_FAST_MATH = YES;
363363 ONLY_ACTIVE_ARCH = YES;
364364 SDKROOT = iphoneos;
365- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
365+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "SWIFT_PACKAGE DEBUG" ;
366366 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
367367 VERSIONING_SYSTEM = "apple-generic";
368368 VERSION_INFO_PREFIX = "";
409409 ENABLE_STRICT_OBJC_MSGSEND = YES;
410410 GCC_C_LANGUAGE_STANDARD = gnu11;
411411 GCC_NO_COMMON_BLOCKS = YES;
412- GCC_PREPROCESSOR_DEFINITIONS = "SWIFT_PACKAGE=1";
412+ GCC_PREPROCESSOR_DEFINITIONS = (
413+ "SWIFT_PACKAGE=1",
414+ "DEBUG=1",
415+ );
413416 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
414417 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
415418 GCC_WARN_UNDECLARED_SELECTOR = YES;
421424 MTL_ENABLE_DEBUG_INFO = NO;
422425 MTL_FAST_MATH = YES;
423426 SDKROOT = iphoneos;
427+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
424428 SWIFT_COMPILATION_MODE = wholemodule;
425429 SWIFT_OPTIMIZATION_LEVEL = "-O";
426430 VALIDATE_PRODUCT = YES;
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import CommonCrypto
1010import CryptoSwift
1111import Foundation
1212#if SWIFT_PACKAGE
13- import Base32
13+ import Base32
1414#else
15- import SwiftBase32
15+ import SwiftBase32
1616#endif
1717
1818public extension Data {
You can’t perform that action at this time.
0 commit comments