Skip to content

Commit 03817ec

Browse files
committed
Cleanup xcconfigs
1 parent fce5b75 commit 03817ec

14 files changed

+27
-1318
lines changed

CryptoSwift.xcodeproj/project.pbxproj

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -207,20 +207,15 @@
207207
75211F94207249D8004E41F8 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
208208
75211FA0207249D8004E41F8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
209209
75211FA520724A0F004E41F8 /* CryptoSwift-TestHostApp-Test.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-TestHostApp-Test.xcconfig"; sourceTree = "<group>"; };
210-
75211FA620724A0F004E41F8 /* Project-Test.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Project-Test.xcconfig"; sourceTree = "<group>"; };
211-
75211FA720724A0F004E41F8 /* Tests-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tests-Debug.xcconfig"; sourceTree = "<group>"; };
212210
75211FA820724A0F004E41F8 /* CryptoSwift-Shared.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-Shared.xcconfig"; sourceTree = "<group>"; };
213211
75211FA920724A0F004E41F8 /* CryptoSwift-TestHostApp-Shared.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-TestHostApp-Shared.xcconfig"; sourceTree = "<group>"; };
214212
75211FAA20724A0F004E41F8 /* Project-Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Project-Release.xcconfig"; sourceTree = "<group>"; };
215-
75211FAB20724A0F004E41F8 /* CryptoSwift-TestHostApp-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-TestHostApp-Debug.xcconfig"; sourceTree = "<group>"; };
216213
75211FAC20724A0F004E41F8 /* CryptoSwift-Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-Release.xcconfig"; sourceTree = "<group>"; };
217-
75211FAD20724A0F004E41F8 /* Tests-Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tests-Release.xcconfig"; sourceTree = "<group>"; };
218214
75211FAE20724A10004E41F8 /* Tests-Shared.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tests-Shared.xcconfig"; sourceTree = "<group>"; };
219215
75211FAF20724A10004E41F8 /* CryptoSwift-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-Debug.xcconfig"; sourceTree = "<group>"; };
220216
75211FB020724A10004E41F8 /* Project-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Project-Debug.xcconfig"; sourceTree = "<group>"; };
221217
75211FB120724A10004E41F8 /* Tests-Test.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tests-Test.xcconfig"; sourceTree = "<group>"; };
222218
75211FB220724A10004E41F8 /* Project-Shared.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Project-Shared.xcconfig"; sourceTree = "<group>"; };
223-
75211FB320724A10004E41F8 /* CryptoSwift-TestHostApp-Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-TestHostApp-Release.xcconfig"; sourceTree = "<group>"; };
224219
75211FB420724A10004E41F8 /* CryptoSwift-Test.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "CryptoSwift-Test.xcconfig"; sourceTree = "<group>"; };
225220
7523742C2083C61C0016D662 /* GCM.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GCM.swift; sourceTree = "<group>"; };
226221
7529366920683DFC00195874 /* AEADChaCha20Poly1305.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AEADChaCha20Poly1305.swift; sourceTree = "<group>"; };
@@ -477,16 +472,11 @@
477472
75211FAC20724A0F004E41F8 /* CryptoSwift-Release.xcconfig */,
478473
75211FA820724A0F004E41F8 /* CryptoSwift-Shared.xcconfig */,
479474
75211FB420724A10004E41F8 /* CryptoSwift-Test.xcconfig */,
480-
75211FAB20724A0F004E41F8 /* CryptoSwift-TestHostApp-Debug.xcconfig */,
481-
75211FB320724A10004E41F8 /* CryptoSwift-TestHostApp-Release.xcconfig */,
482475
75211FA520724A0F004E41F8 /* CryptoSwift-TestHostApp-Test.xcconfig */,
483476
75211FA920724A0F004E41F8 /* CryptoSwift-TestHostApp-Shared.xcconfig */,
484477
75211FB020724A10004E41F8 /* Project-Debug.xcconfig */,
485478
75211FAA20724A0F004E41F8 /* Project-Release.xcconfig */,
486479
75211FB220724A10004E41F8 /* Project-Shared.xcconfig */,
487-
75211FA620724A0F004E41F8 /* Project-Test.xcconfig */,
488-
75211FA720724A0F004E41F8 /* Tests-Debug.xcconfig */,
489-
75211FAD20724A0F004E41F8 /* Tests-Release.xcconfig */,
490480
75211FAE20724A10004E41F8 /* Tests-Shared.xcconfig */,
491481
75211FB120724A10004E41F8 /* Tests-Test.xcconfig */,
492482
);
@@ -739,7 +729,7 @@
739729
75211F91207249D8004E41F8 = {
740730
CreatedOnToolsVersion = 9.3;
741731
LastSwiftMigration = 1020;
742-
ProvisioningStyle = Automatic;
732+
ProvisioningStyle = Manual;
743733
};
744734
754BE45419693E190098E6F3 = {
745735
CreatedOnToolsVersion = 6.0;
@@ -1006,25 +996,20 @@
1006996
/* Begin XCBuildConfiguration section */
1007997
75211FA1207249D8004E41F8 /* Debug */ = {
1008998
isa = XCBuildConfiguration;
1009-
baseConfigurationReference = 75211FAB20724A0F004E41F8 /* CryptoSwift-TestHostApp-Debug.xcconfig */;
1010999
buildSettings = {
1011-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
10121000
};
10131001
name = Debug;
10141002
};
10151003
75211FA2207249D8004E41F8 /* Release */ = {
10161004
isa = XCBuildConfiguration;
1017-
baseConfigurationReference = 75211FB320724A10004E41F8 /* CryptoSwift-TestHostApp-Release.xcconfig */;
10181005
buildSettings = {
1019-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
10201006
};
10211007
name = Release;
10221008
};
10231009
75211FA3207249D8004E41F8 /* Test */ = {
10241010
isa = XCBuildConfiguration;
10251011
baseConfigurationReference = 75211FA520724A0F004E41F8 /* CryptoSwift-TestHostApp-Test.xcconfig */;
10261012
buildSettings = {
1027-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
10281013
};
10291014
name = Test;
10301015
};
@@ -1058,36 +1043,30 @@
10581043
};
10591044
754BE46F19693E190098E6F3 /* Debug */ = {
10601045
isa = XCBuildConfiguration;
1061-
baseConfigurationReference = 75211FA720724A0F004E41F8 /* Tests-Debug.xcconfig */;
10621046
buildSettings = {
10631047
};
10641048
name = Debug;
10651049
};
10661050
754BE47019693E190098E6F3 /* Release */ = {
10671051
isa = XCBuildConfiguration;
1068-
baseConfigurationReference = 75211FAD20724A0F004E41F8 /* Tests-Release.xcconfig */;
10691052
buildSettings = {
10701053
};
10711054
name = Release;
10721055
};
10731056
7564F05D2072EAEB00CA5A96 /* Debug */ = {
10741057
isa = XCBuildConfiguration;
1075-
baseConfigurationReference = 75211FA720724A0F004E41F8 /* Tests-Debug.xcconfig */;
10761058
buildSettings = {
10771059
INFOPLIST_FILE = Tests/TestsPerformance/Info.plist;
10781060
SDKROOT = iphoneos;
1079-
SWIFT_OBJC_BRIDGING_HEADER = Tests/TestsPerformance/Bridging.h;
10801061
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CryptoSwift-TestHostApp.app/CryptoSwift-TestHostApp";
10811062
};
10821063
name = Debug;
10831064
};
10841065
7564F05E2072EAEB00CA5A96 /* Release */ = {
10851066
isa = XCBuildConfiguration;
1086-
baseConfigurationReference = 75211FAD20724A0F004E41F8 /* Tests-Release.xcconfig */;
10871067
buildSettings = {
10881068
INFOPLIST_FILE = Tests/TestsPerformance/Info.plist;
10891069
SDKROOT = iphoneos;
1090-
SWIFT_OBJC_BRIDGING_HEADER = Tests/TestsPerformance/Bridging.h;
10911070
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CryptoSwift-TestHostApp.app/CryptoSwift-TestHostApp";
10921071
};
10931072
name = Release;
@@ -1098,14 +1077,13 @@
10981077
buildSettings = {
10991078
INFOPLIST_FILE = Tests/TestsPerformance/Info.plist;
11001079
SDKROOT = iphoneos;
1101-
SWIFT_OBJC_BRIDGING_HEADER = Tests/TestsPerformance/Bridging.h;
11021080
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CryptoSwift-TestHostApp.app/CryptoSwift-TestHostApp";
11031081
};
11041082
name = Test;
11051083
};
11061084
756B66AA1F6AAFDB00DEC41C /* Test */ = {
11071085
isa = XCBuildConfiguration;
1108-
baseConfigurationReference = 75211FA620724A0F004E41F8 /* Project-Test.xcconfig */;
1086+
baseConfigurationReference = 75211FB220724A10004E41F8 /* Project-Shared.xcconfig */;
11091087
buildSettings = {
11101088
};
11111089
name = Test;
@@ -1126,31 +1104,23 @@
11261104
};
11271105
7595C14F2072E48C00EA1A5F /* Debug */ = {
11281106
isa = XCBuildConfiguration;
1129-
baseConfigurationReference = 75211FA720724A0F004E41F8 /* Tests-Debug.xcconfig */;
11301107
buildSettings = {
1131-
DEVELOPMENT_TEAM = "";
11321108
INFOPLIST_FILE = Tests/TestsPerformance/Info.plist;
1133-
SWIFT_OBJC_BRIDGING_HEADER = Tests/TestsPerformance/Bridging.h;
11341109
};
11351110
name = Debug;
11361111
};
11371112
7595C1502072E48C00EA1A5F /* Release */ = {
11381113
isa = XCBuildConfiguration;
1139-
baseConfigurationReference = 75211FAD20724A0F004E41F8 /* Tests-Release.xcconfig */;
11401114
buildSettings = {
1141-
DEVELOPMENT_TEAM = "";
11421115
INFOPLIST_FILE = Tests/TestsPerformance/Info.plist;
1143-
SWIFT_OBJC_BRIDGING_HEADER = Tests/TestsPerformance/Bridging.h;
11441116
};
11451117
name = Release;
11461118
};
11471119
7595C1512072E48C00EA1A5F /* Test */ = {
11481120
isa = XCBuildConfiguration;
11491121
baseConfigurationReference = 75211FB120724A10004E41F8 /* Tests-Test.xcconfig */;
11501122
buildSettings = {
1151-
DEVELOPMENT_TEAM = "";
11521123
INFOPLIST_FILE = Tests/TestsPerformance/Info.plist;
1153-
SWIFT_OBJC_BRIDGING_HEADER = Tests/TestsPerformance/Bridging.h;
11541124
};
11551125
name = Test;
11561126
};

config/CryptoSwift-Release.xcconfig

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -9,74 +9,10 @@
99

1010

1111
BITCODE_GENERATION_MODE = bitcode
12-
13-
14-
15-
// Use Optimization Profile
16-
//
17-
// When this setting is enabled, `clang` will use the optimization profile collected for
18-
// a target when building it.
19-
2012
CLANG_USE_OPTIMIZATION_PROFILE = NO
21-
22-
23-
24-
// Generate Debug Symbols
25-
//
26-
// Enables or disables generation of debug symbols. When debug symbols are enabled, the
27-
// level of detail can be controlled by the `DEBUG_INFORMATION_FORMAT` setting.
28-
2913
GCC_GENERATE_DEBUGGING_SYMBOLS = NO
30-
31-
32-
33-
// Unroll Loops
34-
//
35-
// Unrolls loops. Unrolling makes the code larger, but may make it faster by reducing the
36-
// number of branches executed.
37-
3814
GCC_UNROLL_LOOPS = YES
39-
40-
41-
42-
// Link-Time Optimization
43-
//
44-
// Enabling this setting allows optimization across file boundaries during linking.
45-
//
46-
// * *No:* Disabled. Do not use link-time optimization.
47-
// * *Monolithic Link-Time Optimization:* This mode performs monolithic link-time
48-
// optimization of binaries, combining all executable code into a single unit and running
49-
// aggressive compiler optimizations.
50-
// * *Incremental Link-Time Optimization:* This mode performs partitioned link-time
51-
// optimization of binaries, inlining between compilation units and running aggressive
52-
// compiler optimizations on each unit in parallel. This enables fast incremental builds
53-
// and uses less memory than Monolithic LTO.
54-
5515
LLVM_LTO = YES
56-
57-
58-
59-
// Disable Safety Checks
60-
//
61-
// Disable runtime safety checks when optimizing.
62-
6316
SWIFT_DISABLE_SAFETY_CHECKS = YES
64-
65-
66-
67-
// Exclusive Access to Memory
68-
//
69-
// Enforce exclusive access to memory
70-
7117
SWIFT_ENFORCE_EXCLUSIVE_ACCESS = compile-time
72-
73-
74-
75-
// Swift Optimization Level
76-
//
77-
// * *None:* Compile without any optimization. [-Onone]
78-
// * *Optimize for Speed:* [-O]
79-
// * *Optimize for Size:* [-Osize]
80-
// * *Whole Module Optimization:* [-O -whole-module-optimization]
81-
8218
SWIFT_OPTIMIZATION_LEVEL = -O

config/CryptoSwift-Test.xcconfig

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -7,66 +7,4 @@
77

88
#include "CryptoSwift-Shared.xcconfig"
99

10-
11-
BITCODE_GENERATION_MODE = bitcode
12-
13-
14-
15-
// Unroll Loops
16-
//
17-
// Unrolls loops. Unrolling makes the code larger, but may make it faster by reducing the
18-
// number of branches executed.
19-
20-
GCC_UNROLL_LOOPS = YES
21-
22-
23-
24-
// Link-Time Optimization
25-
//
26-
// Enabling this setting allows optimization across file boundaries during linking.
27-
//
28-
// * *No:* Disabled. Do not use link-time optimization.
29-
// * *Monolithic Link-Time Optimization:* This mode performs monolithic link-time
30-
// optimization of binaries, combining all executable code into a single unit and running
31-
// aggressive compiler optimizations.
32-
// * *Incremental Link-Time Optimization:* This mode performs partitioned link-time
33-
// optimization of binaries, inlining between compilation units and running aggressive
34-
// compiler optimizations on each unit in parallel. This enables fast incremental builds
35-
// and uses less memory than Monolithic LTO.
36-
37-
LLVM_LTO = YES
38-
39-
40-
41-
// Other Swift Flags
42-
//
43-
// A list of additional flags to pass to the Swift compiler.
44-
45-
OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -debug-time-function-bodies
46-
47-
48-
49-
// Disable Safety Checks
50-
//
51-
// Disable runtime safety checks when optimizing.
52-
53-
SWIFT_DISABLE_SAFETY_CHECKS = YES
54-
55-
56-
57-
// Exclusive Access to Memory
58-
//
59-
// Enforce exclusive access to memory
60-
61-
SWIFT_ENFORCE_EXCLUSIVE_ACCESS = compile-time
62-
63-
64-
65-
// Swift Optimization Level
66-
//
67-
// * *None:* Compile without any optimization. [-Onone]
68-
// * *Optimize for Speed:* [-O]
69-
// * *Optimize for Size:* [-Osize]
70-
// * *Whole Module Optimization:* [-O -whole-module-optimization]
71-
72-
SWIFT_OPTIMIZATION_LEVEL = -O
10+
ENABLE_TESTABILITY = YES

0 commit comments

Comments
 (0)