Skip to content

Commit bf9ace6

Browse files
author
Alexander Widerberg
committed
XCode: Updated to latest syntax of XCode
1 parent 65676bc commit bf9ace6

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

Example/AWFileHash.xcodeproj/project.pbxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
isa = PBXProject;
164164
attributes = {
165165
CLASSPREFIX = AW;
166-
LastUpgradeCheck = 0510;
166+
LastUpgradeCheck = 0720;
167167
ORGANIZATIONNAME = "Alexander Widerberg";
168168
TargetAttributes = {
169169
6003F5AD195388D20070C39A = {
@@ -291,6 +291,7 @@
291291
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
292292
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
293293
COPY_PHASE_STRIP = NO;
294+
ENABLE_TESTABILITY = YES;
294295
GCC_C_LANGUAGE_STANDARD = gnu99;
295296
GCC_DYNAMIC_NO_PIC = NO;
296297
GCC_OPTIMIZATION_LEVEL = 0;
@@ -361,6 +362,7 @@
361362
"$(inherited)",
362363
);
363364
INFOPLIST_FILE = "Tests/Tests-Info.plist";
365+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
364366
PRODUCT_NAME = "$(TARGET_NAME)";
365367
TEST_HOST = "$(BUNDLE_LOADER)";
366368
WRAPPER_EXTENSION = xctest;
@@ -379,6 +381,7 @@
379381
GCC_PRECOMPILE_PREFIX_HEADER = YES;
380382
GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
381383
INFOPLIST_FILE = "Tests/Tests-Info.plist";
384+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
382385
PRODUCT_NAME = "$(TARGET_NAME)";
383386
TEST_HOST = "$(BUNDLE_LOADER)";
384387
WRAPPER_EXTENSION = xctest;

Example/AWFileHash.xcodeproj/xcshareddata/xcschemes/AWFileHash-Example.xcscheme

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0600"
3+
LastUpgradeVersion = "0720"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -23,10 +23,10 @@
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
<TestableReference
3232
skipped = "NO">
@@ -48,17 +48,21 @@
4848
ReferencedContainer = "container:AWFileHash.xcodeproj">
4949
</BuildableReference>
5050
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
5153
</TestAction>
5254
<LaunchAction
55+
buildConfiguration = "Debug"
5356
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5457
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
5558
launchStyle = "0"
5659
useCustomWorkingDirectory = "NO"
57-
buildConfiguration = "Debug"
5860
ignoresPersistentStateOnLaunch = "NO"
5961
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
6063
allowLocationSimulation = "YES">
61-
<BuildableProductRunnable>
64+
<BuildableProductRunnable
65+
runnableDebuggingMode = "0">
6266
<BuildableReference
6367
BuildableIdentifier = "primary"
6468
BlueprintIdentifier = "6003F5AD195388D20070C39A"
@@ -71,12 +75,13 @@
7175
</AdditionalOptions>
7276
</LaunchAction>
7377
<ProfileAction
78+
buildConfiguration = "Release"
7479
shouldUseLaunchSchemeArgsEnv = "YES"
7580
savedToolIdentifier = ""
7681
useCustomWorkingDirectory = "NO"
77-
buildConfiguration = "Release"
7882
debugDocumentVersioning = "YES">
79-
<BuildableProductRunnable>
83+
<BuildableProductRunnable
84+
runnableDebuggingMode = "0">
8085
<BuildableReference
8186
BuildableIdentifier = "primary"
8287
BlueprintIdentifier = "6003F5AD195388D20070C39A"

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/AWFileHash.xcscheme

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Tests/Tests-Info.plist

Lines changed: 1 addition & 1 deletion
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>org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundlePackageType</key>

0 commit comments

Comments
 (0)