Skip to content

Commit 28d516e

Browse files
committed
Build Schemes & profiles.
1 parent 2417f23 commit 28d516e

File tree

5 files changed

+434
-11
lines changed

5 files changed

+434
-11
lines changed

Adamant.xcodeproj/project.pbxproj

Lines changed: 123 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125

126126
/* Begin PBXFileReference section */
127127
871009461457F6B7B47D99C5 /* Pods-Adamant.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Adamant.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Adamant/Pods-Adamant.debug.xcconfig"; sourceTree = "<group>"; };
128+
903AC078A8A55175A05E42D4 /* Pods-Adamant.testing.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Adamant.testing.xcconfig"; path = "Pods/Target Support Files/Pods-Adamant/Pods-Adamant.testing.xcconfig"; sourceTree = "<group>"; };
128129
C107D5CB65B4D728B9D97C0F /* Pods_Adamant.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Adamant.framework; sourceTree = BUILT_PRODUCTS_DIR; };
129130
D1311CE46EB635FFC95BFEF4 /* Pods_Adamant_ios.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Adamant_ios.framework; sourceTree = BUILT_PRODUCTS_DIR; };
130131
D283570A539D864115735AAA /* Pods-Adamant.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Adamant.release.xcconfig"; path = "Pods/Target Support Files/Pods-Adamant/Pods-Adamant.release.xcconfig"; sourceTree = "<group>"; };
@@ -270,6 +271,7 @@
270271
children = (
271272
871009461457F6B7B47D99C5 /* Pods-Adamant.debug.xcconfig */,
272273
D283570A539D864115735AAA /* Pods-Adamant.release.xcconfig */,
274+
903AC078A8A55175A05E42D4 /* Pods-Adamant.testing.xcconfig */,
273275
);
274276
name = Pods;
275277
sourceTree = "<group>";
@@ -586,7 +588,7 @@
586588
TargetAttributes = {
587589
E913C8ED1FFFA51D001A83F7 = {
588590
CreatedOnToolsVersion = 9.2;
589-
ProvisioningStyle = Automatic;
591+
ProvisioningStyle = Manual;
590592
};
591593
E9EC344320066D4A00C0E546 = {
592594
CreatedOnToolsVersion = 9.2;
@@ -900,6 +902,7 @@
900902
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
901903
MTL_ENABLE_DEBUG_INFO = YES;
902904
ONLY_ACTIVE_ARCH = YES;
905+
PRODUCT_NAME = ADAMANT;
903906
SDKROOT = iphoneos;
904907
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
905908
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -950,6 +953,7 @@
950953
GCC_WARN_UNUSED_VARIABLE = YES;
951954
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
952955
MTL_ENABLE_DEBUG_INFO = NO;
956+
PRODUCT_NAME = ADAMANT;
953957
SDKROOT = iphoneos;
954958
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
955959
VALIDATE_PRODUCT = YES;
@@ -961,12 +965,15 @@
961965
baseConfigurationReference = 871009461457F6B7B47D99C5 /* Pods-Adamant.debug.xcconfig */;
962966
buildSettings = {
963967
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
964-
CODE_SIGN_STYLE = Automatic;
965-
DEVELOPMENT_TEAM = 37KJUUCTM4;
968+
CODE_SIGN_STYLE = Manual;
969+
DEVELOPMENT_TEAM = J2L77FMN46;
970+
DISPLAY_NAME = ADM.Dev;
966971
INFOPLIST_FILE = Adamant/Info.plist;
967972
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
968-
PRODUCT_BUNDLE_IDENTIFIER = im.adamant.Adamant;
973+
PRODUCT_BUNDLE_IDENTIFIER = "im.adamant.adamant-messenger-dev";
969974
PRODUCT_NAME = "$(TARGET_NAME)";
975+
PROVISIONING_PROFILE = "b540bdd6-d05a-4a21-a403-7a8c6a15d4fc";
976+
PROVISIONING_PROFILE_SPECIFIER = "ADAMANT Dev";
970977
SWIFT_VERSION = 4.0;
971978
TARGETED_DEVICE_FAMILY = 1;
972979
};
@@ -977,27 +984,129 @@
977984
baseConfigurationReference = D283570A539D864115735AAA /* Pods-Adamant.release.xcconfig */;
978985
buildSettings = {
979986
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
980-
CODE_SIGN_STYLE = Automatic;
981-
DEVELOPMENT_TEAM = 37KJUUCTM4;
987+
CODE_SIGN_IDENTITY = "iPhone Distribution";
988+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
989+
CODE_SIGN_STYLE = Manual;
990+
DEVELOPMENT_TEAM = J2L77FMN46;
991+
DISPLAY_NAME = ADAMANT;
982992
INFOPLIST_FILE = Adamant/Info.plist;
983993
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
984-
PRODUCT_BUNDLE_IDENTIFIER = im.adamant.Adamant;
994+
PRODUCT_BUNDLE_IDENTIFIER = "im.adamant.adamant-messenger";
985995
PRODUCT_NAME = "$(TARGET_NAME)";
996+
PROVISIONING_PROFILE = "c6343978-a18d-4ab8-b4fd-647a98e84a1b";
997+
PROVISIONING_PROFILE_SPECIFIER = "ADAMANT Messenger";
986998
SWIFT_VERSION = 4.0;
987999
TARGETED_DEVICE_FAMILY = 1;
9881000
};
9891001
name = Release;
9901002
};
1003+
E9722062201E654D004F2AAD /* Testing */ = {
1004+
isa = XCBuildConfiguration;
1005+
buildSettings = {
1006+
ALWAYS_SEARCH_USER_PATHS = NO;
1007+
CLANG_ANALYZER_NONNULL = YES;
1008+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
1009+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
1010+
CLANG_CXX_LIBRARY = "libc++";
1011+
CLANG_ENABLE_MODULES = YES;
1012+
CLANG_ENABLE_OBJC_ARC = YES;
1013+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1014+
CLANG_WARN_BOOL_CONVERSION = YES;
1015+
CLANG_WARN_COMMA = YES;
1016+
CLANG_WARN_CONSTANT_CONVERSION = YES;
1017+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1018+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1019+
CLANG_WARN_EMPTY_BODY = YES;
1020+
CLANG_WARN_ENUM_CONVERSION = YES;
1021+
CLANG_WARN_INFINITE_RECURSION = YES;
1022+
CLANG_WARN_INT_CONVERSION = YES;
1023+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1024+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1025+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1026+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1027+
CLANG_WARN_STRICT_PROTOTYPES = YES;
1028+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
1029+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
1030+
CLANG_WARN_UNREACHABLE_CODE = YES;
1031+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1032+
CODE_SIGN_IDENTITY = "iPhone Developer";
1033+
COPY_PHASE_STRIP = NO;
1034+
DEBUG_INFORMATION_FORMAT = dwarf;
1035+
ENABLE_STRICT_OBJC_MSGSEND = YES;
1036+
ENABLE_TESTABILITY = YES;
1037+
GCC_C_LANGUAGE_STANDARD = gnu11;
1038+
GCC_DYNAMIC_NO_PIC = NO;
1039+
GCC_NO_COMMON_BLOCKS = YES;
1040+
GCC_OPTIMIZATION_LEVEL = 0;
1041+
GCC_PREPROCESSOR_DEFINITIONS = (
1042+
"DEBUG=1",
1043+
"$(inherited)",
1044+
);
1045+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1046+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1047+
GCC_WARN_UNDECLARED_SELECTOR = YES;
1048+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1049+
GCC_WARN_UNUSED_FUNCTION = YES;
1050+
GCC_WARN_UNUSED_VARIABLE = YES;
1051+
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
1052+
MTL_ENABLE_DEBUG_INFO = YES;
1053+
ONLY_ACTIVE_ARCH = YES;
1054+
PRODUCT_NAME = ADAMANT;
1055+
SDKROOT = iphoneos;
1056+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1057+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1058+
};
1059+
name = Testing;
1060+
};
1061+
E9722063201E654D004F2AAD /* Testing */ = {
1062+
isa = XCBuildConfiguration;
1063+
baseConfigurationReference = 903AC078A8A55175A05E42D4 /* Pods-Adamant.testing.xcconfig */;
1064+
buildSettings = {
1065+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1066+
CODE_SIGN_STYLE = Manual;
1067+
DEVELOPMENT_TEAM = J2L77FMN46;
1068+
DISPLAY_NAME = ADAMANT;
1069+
INFOPLIST_FILE = Adamant/Info.plist;
1070+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1071+
PRODUCT_BUNDLE_IDENTIFIER = "im.adamant.adamant-messenger-qa";
1072+
PRODUCT_NAME = "$(TARGET_NAME)";
1073+
PROVISIONING_PROFILE = "79394ceb-6016-46b9-8b60-1927d7bd227a";
1074+
PROVISIONING_PROFILE_SPECIFIER = "ADAMANT QA Dev";
1075+
SWIFT_VERSION = 4.0;
1076+
TARGETED_DEVICE_FAMILY = 1;
1077+
};
1078+
name = Testing;
1079+
};
1080+
E9722064201E654D004F2AAD /* Testing */ = {
1081+
isa = XCBuildConfiguration;
1082+
buildSettings = {
1083+
BUNDLE_LOADER = "$(TEST_HOST)";
1084+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1085+
CODE_SIGN_STYLE = Automatic;
1086+
DEVELOPMENT_TEAM = J2L77FMN46;
1087+
INFOPLIST_FILE = AdamantTests/Info.plist;
1088+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1089+
PRODUCT_BUNDLE_IDENTIFIER = im.adamant.AdamantTests;
1090+
PRODUCT_NAME = "$(TARGET_NAME)";
1091+
PROVISIONING_PROFILE_SPECIFIER = "";
1092+
SWIFT_VERSION = 4.0;
1093+
TARGETED_DEVICE_FAMILY = "1,2";
1094+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Adamant.app/Adamant";
1095+
};
1096+
name = Testing;
1097+
};
9911098
E9EC344C20066D4A00C0E546 /* Debug */ = {
9921099
isa = XCBuildConfiguration;
9931100
buildSettings = {
9941101
BUNDLE_LOADER = "$(TEST_HOST)";
1102+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
9951103
CODE_SIGN_STYLE = Automatic;
996-
DEVELOPMENT_TEAM = 37KJUUCTM4;
1104+
DEVELOPMENT_TEAM = J2L77FMN46;
9971105
INFOPLIST_FILE = AdamantTests/Info.plist;
9981106
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
9991107
PRODUCT_BUNDLE_IDENTIFIER = im.adamant.AdamantTests;
10001108
PRODUCT_NAME = "$(TARGET_NAME)";
1109+
PROVISIONING_PROFILE_SPECIFIER = "";
10011110
SWIFT_VERSION = 4.0;
10021111
TARGETED_DEVICE_FAMILY = "1,2";
10031112
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Adamant.app/Adamant";
@@ -1008,12 +1117,14 @@
10081117
isa = XCBuildConfiguration;
10091118
buildSettings = {
10101119
BUNDLE_LOADER = "$(TEST_HOST)";
1120+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
10111121
CODE_SIGN_STYLE = Automatic;
1012-
DEVELOPMENT_TEAM = 37KJUUCTM4;
1122+
DEVELOPMENT_TEAM = J2L77FMN46;
10131123
INFOPLIST_FILE = AdamantTests/Info.plist;
10141124
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
10151125
PRODUCT_BUNDLE_IDENTIFIER = im.adamant.AdamantTests;
10161126
PRODUCT_NAME = "$(TARGET_NAME)";
1127+
PROVISIONING_PROFILE_SPECIFIER = "";
10171128
SWIFT_VERSION = 4.0;
10181129
TARGETED_DEVICE_FAMILY = "1,2";
10191130
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Adamant.app/Adamant";
@@ -1027,6 +1138,7 @@
10271138
isa = XCConfigurationList;
10281139
buildConfigurations = (
10291140
E913C8FE1FFFA51E001A83F7 /* Debug */,
1141+
E9722062201E654D004F2AAD /* Testing */,
10301142
E913C8FF1FFFA51E001A83F7 /* Release */,
10311143
);
10321144
defaultConfigurationIsVisible = 0;
@@ -1036,6 +1148,7 @@
10361148
isa = XCConfigurationList;
10371149
buildConfigurations = (
10381150
E913C9011FFFA51E001A83F7 /* Debug */,
1151+
E9722063201E654D004F2AAD /* Testing */,
10391152
E913C9021FFFA51E001A83F7 /* Release */,
10401153
);
10411154
defaultConfigurationIsVisible = 0;
@@ -1045,6 +1158,7 @@
10451158
isa = XCConfigurationList;
10461159
buildConfigurations = (
10471160
E9EC344C20066D4A00C0E546 /* Debug */,
1161+
E9722064201E654D004F2AAD /* Testing */,
10481162
E9EC344D20066D4A00C0E546 /* Release */,
10491163
);
10501164
defaultConfigurationIsVisible = 0;
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0920"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "E913C8ED1FFFA51D001A83F7"
18+
BuildableName = "Adamant.app"
19+
BlueprintName = "Adamant"
20+
ReferencedContainer = "container:Adamant.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
language = ""
30+
shouldUseLaunchSchemeArgsEnv = "YES">
31+
<Testables>
32+
<TestableReference
33+
skipped = "NO">
34+
<BuildableReference
35+
BuildableIdentifier = "primary"
36+
BlueprintIdentifier = "E9EC344320066D4A00C0E546"
37+
BuildableName = "AdamantTests.xctest"
38+
BlueprintName = "AdamantTests"
39+
ReferencedContainer = "container:Adamant.xcodeproj">
40+
</BuildableReference>
41+
</TestableReference>
42+
</Testables>
43+
<MacroExpansion>
44+
<BuildableReference
45+
BuildableIdentifier = "primary"
46+
BlueprintIdentifier = "E913C8ED1FFFA51D001A83F7"
47+
BuildableName = "Adamant.app"
48+
BlueprintName = "Adamant"
49+
ReferencedContainer = "container:Adamant.xcodeproj">
50+
</BuildableReference>
51+
</MacroExpansion>
52+
<AdditionalOptions>
53+
</AdditionalOptions>
54+
</TestAction>
55+
<LaunchAction
56+
buildConfiguration = "Debug"
57+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
58+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59+
language = ""
60+
launchStyle = "0"
61+
useCustomWorkingDirectory = "NO"
62+
ignoresPersistentStateOnLaunch = "NO"
63+
debugDocumentVersioning = "YES"
64+
debugServiceExtension = "internal"
65+
allowLocationSimulation = "YES">
66+
<BuildableProductRunnable
67+
runnableDebuggingMode = "0">
68+
<BuildableReference
69+
BuildableIdentifier = "primary"
70+
BlueprintIdentifier = "E913C8ED1FFFA51D001A83F7"
71+
BuildableName = "Adamant.app"
72+
BlueprintName = "Adamant"
73+
ReferencedContainer = "container:Adamant.xcodeproj">
74+
</BuildableReference>
75+
</BuildableProductRunnable>
76+
<AdditionalOptions>
77+
</AdditionalOptions>
78+
</LaunchAction>
79+
<ProfileAction
80+
buildConfiguration = "Release"
81+
shouldUseLaunchSchemeArgsEnv = "YES"
82+
savedToolIdentifier = ""
83+
useCustomWorkingDirectory = "NO"
84+
debugDocumentVersioning = "YES">
85+
<BuildableProductRunnable
86+
runnableDebuggingMode = "0">
87+
<BuildableReference
88+
BuildableIdentifier = "primary"
89+
BlueprintIdentifier = "E913C8ED1FFFA51D001A83F7"
90+
BuildableName = "Adamant.app"
91+
BlueprintName = "Adamant"
92+
ReferencedContainer = "container:Adamant.xcodeproj">
93+
</BuildableReference>
94+
</BuildableProductRunnable>
95+
</ProfileAction>
96+
<AnalyzeAction
97+
buildConfiguration = "Debug">
98+
</AnalyzeAction>
99+
<ArchiveAction
100+
buildConfiguration = "Release"
101+
revealArchiveInOrganizer = "YES">
102+
</ArchiveAction>
103+
</Scheme>

0 commit comments

Comments
 (0)