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 362
362
MTL_FAST_MATH = YES;
363
363
ONLY_ACTIVE_ARCH = YES;
364
364
SDKROOT = iphoneos;
365
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
365
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "SWIFT_PACKAGE DEBUG" ;
366
366
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
367
367
VERSIONING_SYSTEM = "apple-generic";
368
368
VERSION_INFO_PREFIX = "";
409
409
ENABLE_STRICT_OBJC_MSGSEND = YES;
410
410
GCC_C_LANGUAGE_STANDARD = gnu11;
411
411
GCC_NO_COMMON_BLOCKS = YES;
412
- GCC_PREPROCESSOR_DEFINITIONS = "SWIFT_PACKAGE=1";
412
+ GCC_PREPROCESSOR_DEFINITIONS = (
413
+ "SWIFT_PACKAGE=1",
414
+ "DEBUG=1",
415
+ );
413
416
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
414
417
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
415
418
GCC_WARN_UNDECLARED_SELECTOR = YES;
421
424
MTL_ENABLE_DEBUG_INFO = NO;
422
425
MTL_FAST_MATH = YES;
423
426
SDKROOT = iphoneos;
427
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE;
424
428
SWIFT_COMPILATION_MODE = wholemodule;
425
429
SWIFT_OPTIMIZATION_LEVEL = "-O";
426
430
VALIDATE_PRODUCT = YES;
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import CommonCrypto
10
10
import CryptoSwift
11
11
import Foundation
12
12
#if SWIFT_PACKAGE
13
- import Base32
13
+ import Base32
14
14
#else
15
- import SwiftBase32
15
+ import SwiftBase32
16
16
#endif
17
17
18
18
public extension Data {
You can’t perform that action at this time.
0 commit comments