Skip to content

Commit d008c6d

Browse files
committed
Recommended Xcode changes
1 parent d8b6eb2 commit d008c6d

File tree

8 files changed

+41
-21
lines changed

8 files changed

+41
-21
lines changed

CLI/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleIconFile</key>
1010
<string></string>
1111
<key>CFBundleIdentifier</key>
12-
<string>com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)</string>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
1414
<string>6.0</string>
1515
<key>CFBundleName</key>

CLI/mmmarkdown.xcodeproj/project.pbxproj

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
BED761D91B377D4000687B36 /* Project object */ = {
100100
isa = PBXProject;
101101
attributes = {
102-
LastUpgradeCheck = 0630;
102+
LastUpgradeCheck = 0710;
103103
ORGANIZATIONNAME = "Matt Diephouse";
104104
TargetAttributes = {
105105
BED761E01B377D4100687B36 = {
@@ -168,6 +168,7 @@
168168
COPY_PHASE_STRIP = NO;
169169
DEBUG_INFORMATION_FORMAT = dwarf;
170170
ENABLE_STRICT_OBJC_MSGSEND = YES;
171+
ENABLE_TESTABILITY = YES;
171172
GCC_C_LANGUAGE_STANDARD = gnu99;
172173
GCC_DYNAMIC_NO_PIC = NO;
173174
GCC_NO_COMMON_BLOCKS = YES;
@@ -237,6 +238,7 @@
237238
);
238239
INFOPLIST_FILE = Info.plist;
239240
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
241+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
240242
PRODUCT_NAME = "$(TARGET_NAME)";
241243
};
242244
name = Debug;
@@ -252,6 +254,7 @@
252254
);
253255
INFOPLIST_FILE = Info.plist;
254256
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
257+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
255258
PRODUCT_NAME = "$(TARGET_NAME)";
256259
};
257260
name = Release;

MMMarkdown.xcodeproj/project.pbxproj

+9-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
BE813DCD14F893EB00EC9469 /* Project object */ = {
652652
isa = PBXProject;
653653
attributes = {
654-
LastUpgradeCheck = 0630;
654+
LastUpgradeCheck = 0710;
655655
TargetAttributes = {
656656
BED761561B374D6700687B36 = {
657657
CreatedOnToolsVersion = 6.3.2;
@@ -783,6 +783,7 @@
783783
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
784784
COPY_PHASE_STRIP = NO;
785785
ENABLE_STRICT_OBJC_MSGSEND = YES;
786+
ENABLE_TESTABILITY = YES;
786787
GCC_C_LANGUAGE_STANDARD = gnu99;
787788
GCC_DYNAMIC_NO_PIC = NO;
788789
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
@@ -864,6 +865,7 @@
864865
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
865866
MACOSX_DEPLOYMENT_TARGET = 10.6;
866867
MTL_ENABLE_DEBUG_INFO = YES;
868+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
867869
PRODUCT_NAME = MMMarkdown;
868870
SKIP_INSTALL = YES;
869871
VERSIONING_SYSTEM = "apple-generic";
@@ -895,6 +897,7 @@
895897
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
896898
MACOSX_DEPLOYMENT_TARGET = 10.6;
897899
MTL_ENABLE_DEBUG_INFO = NO;
900+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
898901
PRODUCT_NAME = MMMarkdown;
899902
SKIP_INSTALL = YES;
900903
VERSIONING_SYSTEM = "apple-generic";
@@ -926,6 +929,7 @@
926929
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
927930
MACOSX_DEPLOYMENT_TARGET = 10.10;
928931
MTL_ENABLE_DEBUG_INFO = YES;
932+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
929933
PRODUCT_NAME = "$(TARGET_NAME)";
930934
};
931935
name = Debug;
@@ -951,6 +955,7 @@
951955
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
952956
MACOSX_DEPLOYMENT_TARGET = 10.10;
953957
MTL_ENABLE_DEBUG_INFO = NO;
958+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
954959
PRODUCT_NAME = "$(TARGET_NAME)";
955960
};
956961
name = Release;
@@ -981,6 +986,7 @@
981986
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
982987
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
983988
MTL_ENABLE_DEBUG_INFO = YES;
989+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
984990
PRODUCT_NAME = MMMarkdown;
985991
SDKROOT = iphoneos;
986992
SKIP_INSTALL = YES;
@@ -1013,6 +1019,7 @@
10131019
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
10141020
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
10151021
MTL_ENABLE_DEBUG_INFO = NO;
1022+
PRODUCT_BUNDLE_IDENTIFIER = "com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)";
10161023
PRODUCT_NAME = MMMarkdown;
10171024
SDKROOT = iphoneos;
10181025
SKIP_INSTALL = YES;
@@ -1060,6 +1067,7 @@
10601067
BED762231B37810000687B36 /* Release */,
10611068
);
10621069
defaultConfigurationIsVisible = 0;
1070+
defaultConfigurationName = Release;
10631071
};
10641072
/* End XCConfigurationList section */
10651073
};

MMMarkdown.xcodeproj/xcshareddata/xcschemes/MMMarkdown (OS X).xcscheme

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0630"
3+
LastUpgradeVersion = "0710"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -37,10 +37,10 @@
3737
</BuildActionEntries>
3838
</BuildAction>
3939
<TestAction
40+
buildConfiguration = "Debug"
4041
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4142
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
43+
shouldUseLaunchSchemeArgsEnv = "YES">
4444
<Testables>
4545
<TestableReference
4646
skipped = "NO">
@@ -62,15 +62,18 @@
6262
ReferencedContainer = "container:MMMarkdown.xcodeproj">
6363
</BuildableReference>
6464
</MacroExpansion>
65+
<AdditionalOptions>
66+
</AdditionalOptions>
6567
</TestAction>
6668
<LaunchAction
69+
buildConfiguration = "Debug"
6770
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6871
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
6972
launchStyle = "0"
7073
useCustomWorkingDirectory = "NO"
71-
buildConfiguration = "Debug"
7274
ignoresPersistentStateOnLaunch = "NO"
7375
debugDocumentVersioning = "YES"
76+
debugServiceExtension = "internal"
7477
allowLocationSimulation = "YES">
7578
<MacroExpansion>
7679
<BuildableReference
@@ -85,10 +88,10 @@
8588
</AdditionalOptions>
8689
</LaunchAction>
8790
<ProfileAction
91+
buildConfiguration = "Release"
8892
shouldUseLaunchSchemeArgsEnv = "YES"
8993
savedToolIdentifier = ""
9094
useCustomWorkingDirectory = "NO"
91-
buildConfiguration = "Release"
9295
debugDocumentVersioning = "YES">
9396
<MacroExpansion>
9497
<BuildableReference

MMMarkdown.xcodeproj/xcshareddata/xcschemes/MMMarkdown (iOS).xcscheme

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0630"
3+
LastUpgradeVersion = "0710"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -23,21 +23,24 @@
2323
</BuildActionEntries>
2424
</BuildAction>
2525
<TestAction
26+
buildConfiguration = "Debug"
2627
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2728
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28-
shouldUseLaunchSchemeArgsEnv = "YES"
29-
buildConfiguration = "Debug">
29+
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
3234
</TestAction>
3335
<LaunchAction
36+
buildConfiguration = "Debug"
3437
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3538
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
3639
launchStyle = "0"
3740
useCustomWorkingDirectory = "NO"
38-
buildConfiguration = "Debug"
3941
ignoresPersistentStateOnLaunch = "NO"
4042
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
4144
allowLocationSimulation = "YES">
4245
<MacroExpansion>
4346
<BuildableReference
@@ -52,10 +55,10 @@
5255
</AdditionalOptions>
5356
</LaunchAction>
5457
<ProfileAction
58+
buildConfiguration = "Release"
5559
shouldUseLaunchSchemeArgsEnv = "YES"
5660
savedToolIdentifier = ""
5761
useCustomWorkingDirectory = "NO"
58-
buildConfiguration = "Release"
5962
debugDocumentVersioning = "YES">
6063
<MacroExpansion>
6164
<BuildableReference

MMMarkdown.xcworkspace/xcshareddata/xcschemes/mmmarkdown.xcscheme

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0630"
3+
LastUpgradeVersion = "0710"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -37,10 +37,10 @@
3737
</BuildActionEntries>
3838
</BuildAction>
3939
<TestAction
40+
buildConfiguration = "Debug"
4041
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4142
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
43+
shouldUseLaunchSchemeArgsEnv = "YES">
4444
<Testables>
4545
<TestableReference
4646
skipped = "NO">
@@ -62,15 +62,18 @@
6262
ReferencedContainer = "container:CLI/mmmarkdown.xcodeproj">
6363
</BuildableReference>
6464
</MacroExpansion>
65+
<AdditionalOptions>
66+
</AdditionalOptions>
6567
</TestAction>
6668
<LaunchAction
69+
buildConfiguration = "Debug"
6770
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6871
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
6972
launchStyle = "0"
7073
useCustomWorkingDirectory = "NO"
71-
buildConfiguration = "Debug"
7274
ignoresPersistentStateOnLaunch = "NO"
7375
debugDocumentVersioning = "YES"
76+
debugServiceExtension = "internal"
7477
allowLocationSimulation = "YES">
7578
<BuildableProductRunnable
7679
runnableDebuggingMode = "0">
@@ -86,10 +89,10 @@
8689
</AdditionalOptions>
8790
</LaunchAction>
8891
<ProfileAction
92+
buildConfiguration = "Release"
8993
shouldUseLaunchSchemeArgsEnv = "YES"
9094
savedToolIdentifier = ""
9195
useCustomWorkingDirectory = "NO"
92-
buildConfiguration = "Release"
9396
debugDocumentVersioning = "YES">
9497
<BuildableProductRunnable
9598
runnableDebuggingMode = "0">

Source/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

Tests/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>com.diephouse.matt.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
@@ -21,4 +21,4 @@
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
</dict>
24-
</plist>
24+
</plist>

0 commit comments

Comments
 (0)