Skip to content

Commit 1ebc476

Browse files
jtreanorBr1an-Boyle
authored andcommitted
Enable code signing for sample apps (#261)
1 parent 7ff0bb6 commit 1ebc476

File tree

4 files changed

+193
-2
lines changed

4 files changed

+193
-2
lines changed

Examples/Sample-ObjC/Sample-ObjC.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
131131
TargetAttributes = {
132132
1A0F1E071B034B7100DA78D2 = {
133133
CreatedOnToolsVersion = 6.3.1;
134+
DevelopmentTeam = T5C9P2N824;
135+
ProvisioningStyle = Automatic;
134136
};
135137
};
136138
};
@@ -289,6 +291,7 @@
289291
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
290292
CODE_SIGN_IDENTITY = "iPhone Developer";
291293
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
294+
DEVELOPMENT_TEAM = T5C9P2N824;
292295
FRAMEWORK_SEARCH_PATHS = (
293296
"$(inherited)",
294297
"$(PROJECT_DIR)",
@@ -300,6 +303,7 @@
300303
PRODUCT_BUNDLE_IDENTIFIER = "io.intercom.$(PRODUCT_NAME:rfc1034identifier)";
301304
PRODUCT_NAME = "Sample-ObjC";
302305
PROVISIONING_PROFILE = "";
306+
PROVISIONING_PROFILE_SPECIFIER = "";
303307
TARGETED_DEVICE_FAMILY = "1,2";
304308
};
305309
name = Debug;
@@ -308,8 +312,9 @@
308312
isa = XCBuildConfiguration;
309313
buildSettings = {
310314
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
311-
CODE_SIGN_IDENTITY = "iPhone Distribution";
312-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
315+
CODE_SIGN_IDENTITY = "iPhone Developer";
316+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
317+
DEVELOPMENT_TEAM = T5C9P2N824;
313318
FRAMEWORK_SEARCH_PATHS = (
314319
"$(inherited)",
315320
"$(PROJECT_DIR)",
@@ -321,6 +326,7 @@
321326
PRODUCT_BUNDLE_IDENTIFIER = "io.intercom.$(PRODUCT_NAME:rfc1034identifier)";
322327
PRODUCT_NAME = "Sample-ObjC";
323328
PROVISIONING_PROFILE = "";
329+
PROVISIONING_PROFILE_SPECIFIER = "";
324330
TARGETED_DEVICE_FAMILY = "1,2";
325331
};
326332
name = Release;
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0830"
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 = "1A0F1E071B034B7100DA78D2"
18+
BuildableName = "Sample-ObjC.app"
19+
BlueprintName = "Sample-ObjC"
20+
ReferencedContainer = "container:Sample-ObjC.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+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "1A0F1E071B034B7100DA78D2"
36+
BuildableName = "Sample-ObjC.app"
37+
BlueprintName = "Sample-ObjC"
38+
ReferencedContainer = "container:Sample-ObjC.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "1A0F1E071B034B7100DA78D2"
59+
BuildableName = "Sample-ObjC.app"
60+
BlueprintName = "Sample-ObjC"
61+
ReferencedContainer = "container:Sample-ObjC.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<BuildableProductRunnable
74+
runnableDebuggingMode = "0">
75+
<BuildableReference
76+
BuildableIdentifier = "primary"
77+
BlueprintIdentifier = "1A0F1E071B034B7100DA78D2"
78+
BuildableName = "Sample-ObjC.app"
79+
BlueprintName = "Sample-ObjC"
80+
ReferencedContainer = "container:Sample-ObjC.xcodeproj">
81+
</BuildableReference>
82+
</BuildableProductRunnable>
83+
</ProfileAction>
84+
<AnalyzeAction
85+
buildConfiguration = "Debug">
86+
</AnalyzeAction>
87+
<ArchiveAction
88+
buildConfiguration = "Release"
89+
revealArchiveInOrganizer = "YES">
90+
</ArchiveAction>
91+
</Scheme>

Examples/Sample-Swift/Sample-Swift.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
TargetAttributes = {
117117
ADEBAA881D3F6AE40016C6EC = {
118118
CreatedOnToolsVersion = 7.3.1;
119+
DevelopmentTeam = T5C9P2N824;
119120
LastSwiftMigration = 0800;
120121
};
121122
};
@@ -277,6 +278,7 @@
277278
isa = XCBuildConfiguration;
278279
buildSettings = {
279280
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
281+
DEVELOPMENT_TEAM = T5C9P2N824;
280282
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/../../";
281283
INFOPLIST_FILE = "Sample-Swift/Info.plist";
282284
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -290,6 +292,7 @@
290292
isa = XCBuildConfiguration;
291293
buildSettings = {
292294
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
295+
DEVELOPMENT_TEAM = T5C9P2N824;
293296
INFOPLIST_FILE = "Sample-Swift/Info.plist";
294297
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
295298
PRODUCT_BUNDLE_IDENTIFIER = "io.intercom.Sample-Swift";
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0830"
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 = "ADEBAA881D3F6AE40016C6EC"
18+
BuildableName = "Sample-Swift.app"
19+
BlueprintName = "Sample-Swift"
20+
ReferencedContainer = "container:Sample-Swift.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+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "ADEBAA881D3F6AE40016C6EC"
36+
BuildableName = "Sample-Swift.app"
37+
BlueprintName = "Sample-Swift"
38+
ReferencedContainer = "container:Sample-Swift.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "ADEBAA881D3F6AE40016C6EC"
59+
BuildableName = "Sample-Swift.app"
60+
BlueprintName = "Sample-Swift"
61+
ReferencedContainer = "container:Sample-Swift.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<BuildableProductRunnable
74+
runnableDebuggingMode = "0">
75+
<BuildableReference
76+
BuildableIdentifier = "primary"
77+
BlueprintIdentifier = "ADEBAA881D3F6AE40016C6EC"
78+
BuildableName = "Sample-Swift.app"
79+
BlueprintName = "Sample-Swift"
80+
ReferencedContainer = "container:Sample-Swift.xcodeproj">
81+
</BuildableReference>
82+
</BuildableProductRunnable>
83+
</ProfileAction>
84+
<AnalyzeAction
85+
buildConfiguration = "Debug">
86+
</AnalyzeAction>
87+
<ArchiveAction
88+
buildConfiguration = "Release"
89+
revealArchiveInOrganizer = "YES">
90+
</ArchiveAction>
91+
</Scheme>

0 commit comments

Comments
 (0)