Skip to content

Commit 09ddc2f

Browse files
committed
Upgrade project to Xcode 7
1 parent ab09a5a commit 09ddc2f

File tree

7 files changed

+33
-11
lines changed

7 files changed

+33
-11
lines changed

PMK.playground/contents.xcplayground

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<playground version='3.0' sdk='iphonesimulator' auto-termination-delay='2'>
2+
<playground version='3.0' sdk='iphonesimulator' auto-termination-delay='2' runInFullSimulator='YES'>
33
<sections>
44
<code source-file-name='section-1.swift'/>
55
</sections>

PromiseKit.xcodeproj/project.pbxproj

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,8 @@
11011101
63F8039A1AB87A8200E4DEE1 /* Project object */ = {
11021102
isa = PBXProject;
11031103
attributes = {
1104-
LastUpgradeCheck = 0640;
1104+
LastSwiftUpdateCheck = 0700;
1105+
LastUpgradeCheck = 0700;
11051106
ORGANIZATIONNAME = "Max Howell";
11061107
TargetAttributes = {
11071108
63533B321AE57A9300C10972 = {
@@ -1488,6 +1489,7 @@
14881489
INFOPLIST_FILE = Tests/Info.plist;
14891490
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
14901491
MACOSX_DEPLOYMENT_TARGET = 10.10;
1492+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
14911493
PRODUCT_NAME = "$(TARGET_NAME)";
14921494
SDKROOT = macosx;
14931495
};
@@ -1507,6 +1509,7 @@
15071509
INFOPLIST_FILE = Tests/Info.plist;
15081510
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
15091511
MACOSX_DEPLOYMENT_TARGET = 10.10;
1512+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
15101513
PRODUCT_NAME = "$(TARGET_NAME)";
15111514
SDKROOT = macosx;
15121515
};
@@ -1531,6 +1534,7 @@
15311534
INFOPLIST_FILE = Tests/Info.plist;
15321535
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
15331536
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1537+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
15341538
PRODUCT_NAME = "$(TARGET_NAME)";
15351539
SDKROOT = macosx;
15361540
SWIFT_OBJC_BRIDGING_HEADER = Tests/CorePromise/bridge.h;
@@ -1553,6 +1557,7 @@
15531557
INFOPLIST_FILE = Tests/Info.plist;
15541558
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
15551559
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1560+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
15561561
PRODUCT_NAME = "$(TARGET_NAME)";
15571562
SDKROOT = macosx;
15581563
SWIFT_OBJC_BRIDGING_HEADER = Tests/CorePromise/bridge.h;
@@ -1574,6 +1579,7 @@
15741579
INFOPLIST_FILE = "$(SRCROOT)/Tests/HostingApp/Info.plist";
15751580
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
15761581
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1582+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
15771583
PRODUCT_NAME = "$(TARGET_NAME)";
15781584
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
15791585
};
@@ -1590,6 +1596,7 @@
15901596
INFOPLIST_FILE = "$(SRCROOT)/Tests/HostingApp/Info.plist";
15911597
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
15921598
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1599+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
15931600
PRODUCT_NAME = "$(TARGET_NAME)";
15941601
};
15951602
name = Release;
@@ -1611,6 +1618,7 @@
16111618
INFOPLIST_FILE = Tests/Info.plist;
16121619
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
16131620
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1621+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
16141622
PRODUCT_NAME = "$(TARGET_NAME)";
16151623
SWIFT_OBJC_BRIDGING_HEADER = Tests/Categories/bridge.h;
16161624
};
@@ -1629,6 +1637,7 @@
16291637
INFOPLIST_FILE = Tests/Info.plist;
16301638
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
16311639
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1640+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
16321641
PRODUCT_NAME = "$(TARGET_NAME)";
16331642
SWIFT_OBJC_BRIDGING_HEADER = Tests/Categories/bridge.h;
16341643
};
@@ -1653,6 +1662,7 @@
16531662
INFOPLIST_FILE = Tests/Info.plist;
16541663
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
16551664
MACOSX_DEPLOYMENT_TARGET = 10.10;
1665+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
16561666
PRODUCT_NAME = "$(TARGET_NAME)";
16571667
SDKROOT = macosx;
16581668
SWIFT_OBJC_BRIDGING_HEADER = Tests/Categories/bridge.h;
@@ -1674,6 +1684,7 @@
16741684
INFOPLIST_FILE = Tests/Info.plist;
16751685
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
16761686
MACOSX_DEPLOYMENT_TARGET = 10.10;
1687+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
16771688
PRODUCT_NAME = "$(TARGET_NAME)";
16781689
SDKROOT = macosx;
16791690
SWIFT_OBJC_BRIDGING_HEADER = Tests/Categories/bridge.h;
@@ -1697,6 +1708,7 @@
16971708
);
16981709
INFOPLIST_FILE = Tests/Info.plist;
16991710
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1711+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
17001712
PRODUCT_NAME = "$(TARGET_NAME)";
17011713
SDKROOT = iphoneos;
17021714
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PMKTestHost.app/PMKTestHost";
@@ -1716,6 +1728,7 @@
17161728
GCC_NO_COMMON_BLOCKS = YES;
17171729
INFOPLIST_FILE = Tests/Info.plist;
17181730
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1731+
PRODUCT_BUNDLE_IDENTIFIER = "org.promisekit.$(PRODUCT_NAME:rfc1034identifier)";
17191732
PRODUCT_NAME = "$(TARGET_NAME)";
17201733
SDKROOT = iphoneos;
17211734
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PMKTestHost.app/PMKTestHost";
@@ -1744,6 +1757,7 @@
17441757
DYLIB_COMPATIBILITY_VERSION = 1;
17451758
DYLIB_CURRENT_VERSION = 1;
17461759
ENABLE_STRICT_OBJC_MSGSEND = YES;
1760+
ENABLE_TESTABILITY = YES;
17471761
GCC_C_LANGUAGE_STANDARD = gnu99;
17481762
GCC_DYNAMIC_NO_PIC = NO;
17491763
GCC_OPTIMIZATION_LEVEL = 0;
@@ -1762,6 +1776,7 @@
17621776
MACOSX_DEPLOYMENT_TARGET = 10.9;
17631777
MTL_ENABLE_DEBUG_INFO = YES;
17641778
ONLY_ACTIVE_ARCH = YES;
1779+
PRODUCT_BUNDLE_IDENTIFIER = org.promisekit;
17651780
SDKROOT = iphoneos;
17661781
SWIFT_INSTALL_OBJC_HEADER = NO;
17671782
SWIFT_OBJC_INTERFACE_HEADER_NAME = "";
@@ -1805,6 +1820,7 @@
18051820
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
18061821
MACOSX_DEPLOYMENT_TARGET = 10.9;
18071822
MTL_ENABLE_DEBUG_INFO = NO;
1823+
PRODUCT_BUNDLE_IDENTIFIER = org.promisekit;
18081824
SDKROOT = iphoneos;
18091825
SWIFT_INSTALL_OBJC_HEADER = NO;
18101826
SWIFT_OBJC_INTERFACE_HEADER_NAME = "";

PromiseKit.xcodeproj/xcshareddata/xcschemes/PMKOSX.xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -68,6 +68,8 @@
6868
ReferencedContainer = "container:PromiseKit.xcodeproj">
6969
</BuildableReference>
7070
</MacroExpansion>
71+
<AdditionalOptions>
72+
</AdditionalOptions>
7173
</TestAction>
7274
<LaunchAction
7375
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -77,6 +79,7 @@
7779
buildConfiguration = "Debug"
7880
ignoresPersistentStateOnLaunch = "NO"
7981
debugDocumentVersioning = "YES"
82+
debugServiceExtension = "internal"
8083
allowLocationSimulation = "YES">
8184
<MacroExpansion>
8285
<BuildableReference

PromiseKit.xcodeproj/xcshareddata/xcschemes/PMKiOS.xcscheme

Lines changed: 8 additions & 5 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 = "0640"
3+
LastUpgradeVersion = "0700"
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">
@@ -58,15 +58,18 @@
5858
ReferencedContainer = "container:PromiseKit.xcodeproj">
5959
</BuildableReference>
6060
</MacroExpansion>
61+
<AdditionalOptions>
62+
</AdditionalOptions>
6163
</TestAction>
6264
<LaunchAction
65+
buildConfiguration = "Debug"
6366
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6467
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
6568
launchStyle = "0"
6669
useCustomWorkingDirectory = "NO"
67-
buildConfiguration = "Debug"
6870
ignoresPersistentStateOnLaunch = "NO"
6971
debugDocumentVersioning = "YES"
72+
debugServiceExtension = "internal"
7073
allowLocationSimulation = "YES">
7174
<MacroExpansion>
7275
<BuildableReference
@@ -81,10 +84,10 @@
8184
</AdditionalOptions>
8285
</LaunchAction>
8386
<ProfileAction
87+
buildConfiguration = "Release"
8488
shouldUseLaunchSchemeArgsEnv = "YES"
8589
savedToolIdentifier = ""
8690
useCustomWorkingDirectory = "NO"
87-
buildConfiguration = "Release"
8891
debugDocumentVersioning = "YES">
8992
<MacroExpansion>
9093
<BuildableReference

Sources/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.promisekit</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

Tests/HostingApp/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.promisekit.$(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

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.promisekit.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

0 commit comments

Comments
 (0)