Skip to content

Commit

Permalink
Merge pull request #758 from Mantle/xcode8
Browse files Browse the repository at this point in the history
Update for Xcode 8 Support
  • Loading branch information
dcaunt committed Oct 12, 2016
2 parents 3098f8e + 408bde2 commit d6b0128
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 39 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ before_install:
- git submodule update --init --recursive
script:
- set -o pipefail
- xcodebuild $XCODE_ACTION
- xcodebuild $XCODE_ACTION
-workspace "$TRAVIS_XCODE_WORKSPACE"
-scheme "$TRAVIS_XCODE_SCHEME"
-sdk "$XCODE_SDK"
Expand All @@ -16,25 +16,25 @@ script:
matrix:
include:
- xcode_scheme: "Mantle Mac"
osx_image: xcode7.3
osx_image: xcode8
env:
- XCODE_ACTION=test
- XCODE_SDK=macosx
- XCODE_DESTINATION="arch=x86_64"
- xcode_scheme: "Mantle iOS"
osx_image: xcode7.3
osx_image: xcode8
env:
- XCODE_ACTION=test
- XCODE_SDK=iphonesimulator
- XCODE_DESTINATION="name=iPhone 6s"
- XCODE_DESTINATION="name=iPhone 7"
- xcode_scheme: "Mantle-tvOS"
osx_image: xcode7.3
osx_image: xcode8
env:
- XCODE_ACTION=test
- XCODE_SDK=appletvsimulator
- XCODE_DESTINATION="name=Apple TV 1080p"
- xcode_scheme: "Mantle-watchOS"
osx_image: xcode7.3
osx_image: xcode8
env:
- XCODE_ACTION=build
- XCODE_SDK=watchsimulator
Expand Down
4 changes: 2 additions & 2 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "jspahrsummers/xcconfigs" "1ef9763"
github "Quick/Quick" ~> 0.9.2
github "Quick/Nimble" ~> 4.1
github "Quick/Quick" ~> 0.10.0
github "Quick/Nimble" ~> 5.0.0
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "Quick/Nimble" "v4.1.0"
github "Quick/Quick" "v0.9.2"
github "Quick/Nimble" "v5.0.0"
github "Quick/Quick" "v0.10.0"
github "jspahrsummers/xcconfigs" "1ef97639ffbe041da0b1392b2114fa19b922a7a1"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Nimble
Submodule Nimble updated 131 files
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Quick
Submodule Quick updated 137 files
54 changes: 33 additions & 21 deletions Mantle.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@
CD7C6DA91D33ACCC002EC294 /* NSDictionary+MTLManipulationAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = D0C27D0816110973002FE587 /* NSDictionary+MTLManipulationAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
CD7C6DAA1D33ACCC002EC294 /* metamacros.h in Headers */ = {isa = PBXBuildFile; fileRef = D094E47A1777617300906BF7 /* metamacros.h */; settings = {ATTRIBUTES = (Private, ); }; };
CD7C6DAB1D33ACCC002EC294 /* Mantle.h in Headers */ = {isa = PBXBuildFile; fileRef = D042FC4C15F72B23004E8054 /* Mantle.h */; settings = {ATTRIBUTES = (Public, ); }; };
CD7C6DB91D33AD72002EC294 /* watchOS-Application.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CD7C6DB51D33AD72002EC294 /* watchOS-Application.xcconfig */; };
CD7C6DBA1D33AD72002EC294 /* watchOS-Base.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CD7C6DB61D33AD72002EC294 /* watchOS-Base.xcconfig */; };
CD7C6DBB1D33AD72002EC294 /* watchOS-Framework.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CD7C6DB71D33AD72002EC294 /* watchOS-Framework.xcconfig */; };
CD7C6DBC1D33AD72002EC294 /* watchOS-StaticLibrary.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CD7C6DB81D33AD72002EC294 /* watchOS-StaticLibrary.xcconfig */; };
CDEEABA91D33FC5100240A4B /* NSError+MTLModelException.m in Sources */ = {isa = PBXBuildFile; fileRef = 54803A31178829A700011B39 /* NSError+MTLModelException.m */; };
CDEEABAA1D33FC5100240A4B /* NSValueTransformer+MTLPredefinedTransformerAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F117481614C5600092520B /* NSValueTransformer+MTLPredefinedTransformerAdditions.m */; };
CDEEABAB1D33FC5100240A4B /* NSDictionary+MTLMappingAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 547F78541822BCFD00BBAB7B /* NSDictionary+MTLMappingAdditions.m */; };
Expand Down Expand Up @@ -115,10 +111,6 @@
CDEEABF01D33FC7900240A4B /* MTLTestModel-OldArchive.plist in Resources */ = {isa = PBXBuildFile; fileRef = D01BD0B916CB6F5700EC95C7 /* MTLTestModel-OldArchive.plist */; };
CDEEABF21D33FC7900240A4B /* Nimble.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = D0E9C39819F6E008000D427D /* Nimble.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
CDEEABF31D33FC7900240A4B /* Quick.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = D0E9C39419F6DFD9000D427D /* Quick.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
CDEEAC011D33FCBD00240A4B /* tvOS-Application.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CDEEABFD1D33FCBD00240A4B /* tvOS-Application.xcconfig */; };
CDEEAC021D33FCBD00240A4B /* tvOS-Base.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CDEEABFE1D33FCBD00240A4B /* tvOS-Base.xcconfig */; };
CDEEAC031D33FCBD00240A4B /* tvOS-Framework.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CDEEABFF1D33FCBD00240A4B /* tvOS-Framework.xcconfig */; };
CDEEAC041D33FCBD00240A4B /* tvOS-StaticLibrary.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = CDEEAC001D33FCBD00240A4B /* tvOS-StaticLibrary.xcconfig */; };
CDEEAC071D34004100240A4B /* Mantle.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = CDEEABD11D33FC5100240A4B /* Mantle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
D01BD09D16CB432D00EC95C7 /* MTLJSONAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = D01BD09B16CB432D00EC95C7 /* MTLJSONAdapter.h */; settings = {ATTRIBUTES = (Public, ); }; };
D01BD09F16CB432D00EC95C7 /* MTLJSONAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = D01BD09C16CB432D00EC95C7 /* MTLJSONAdapter.m */; };
Expand Down Expand Up @@ -950,11 +942,15 @@
attributes = {
LastSwiftUpdateCheck = 0700;
LastTestingUpgradeCheck = 0510;
LastUpgradeCheck = 0710;
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = GitHub;
TargetAttributes = {
D042FC5315F72B23004E8054 = {
LastSwiftMigration = 0800;
};
D0E9C35619F6DB38000D427D = {
CreatedOnToolsVersion = 6.1;
LastSwiftMigration = 0800;
};
D0E9C36019F6DB38000D427D = {
CreatedOnToolsVersion = 6.1;
Expand Down Expand Up @@ -1011,14 +1007,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CDEEAC041D33FCBD00240A4B /* tvOS-StaticLibrary.xcconfig in Resources */,
CD7C6DBC1D33AD72002EC294 /* watchOS-StaticLibrary.xcconfig in Resources */,
CDEEAC011D33FCBD00240A4B /* tvOS-Application.xcconfig in Resources */,
CDEEAC031D33FCBD00240A4B /* tvOS-Framework.xcconfig in Resources */,
CD7C6DBB1D33AD72002EC294 /* watchOS-Framework.xcconfig in Resources */,
CD7C6DB91D33AD72002EC294 /* watchOS-Application.xcconfig in Resources */,
CD7C6DBA1D33AD72002EC294 /* watchOS-Base.xcconfig in Resources */,
CDEEAC021D33FCBD00240A4B /* tvOS-Base.xcconfig in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1360,6 +1348,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand All @@ -1377,6 +1366,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Test;
};
Expand All @@ -1393,6 +1383,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand All @@ -1409,13 +1400,16 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Profile;
};
D042FC6415F72B23004E8054 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D094E4831777619600906BF7 /* Debug.xcconfig */;
buildSettings = {
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand All @@ -1431,6 +1425,8 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D094E4851777619600906BF7 /* Release.xcconfig */;
buildSettings = {
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
GCC_NO_COMMON_BLOCKS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.8;
Expand Down Expand Up @@ -1481,6 +1477,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand All @@ -1498,13 +1495,16 @@
MACOSX_DEPLOYMENT_TARGET = 10.9;
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
D042FCC415F72E0C004E8054 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D094E4841777619600906BF7 /* Profile.xcconfig */;
buildSettings = {
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
GCC_NO_COMMON_BLOCKS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.8;
Expand Down Expand Up @@ -1541,13 +1541,16 @@
MACOSX_DEPLOYMENT_TARGET = 10.9;
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Profile;
};
D0A56BE11804B97600A84EDC /* Test */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D094E4861777619600906BF7 /* Test.xcconfig */;
buildSettings = {
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
GCC_NO_COMMON_BLOCKS = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.8;
Expand Down Expand Up @@ -1585,19 +1588,21 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Test;
};
D0E9C36B19F6DB38000D427D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = D0E9C37419F6DB8A000D427D /* iOS-Framework.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
INFOPLIST_FILE = Mantle/Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
SWIFT_VERSION = 3.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -1607,12 +1612,13 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D0E9C37419F6DB8A000D427D /* iOS-Framework.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
INFOPLIST_FILE = Mantle/Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
SWIFT_VERSION = 3.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -1622,12 +1628,13 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D0E9C37419F6DB8A000D427D /* iOS-Framework.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
INFOPLIST_FILE = Mantle/Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
SWIFT_VERSION = 3.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -1637,12 +1644,13 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D0E9C37419F6DB8A000D427D /* iOS-Framework.xcconfig */;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 1;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
INFOPLIST_FILE = Mantle/Info.plist;
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
SWIFT_VERSION = 3.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -1663,6 +1671,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand All @@ -1681,6 +1690,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Test;
};
Expand All @@ -1698,6 +1708,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
Expand All @@ -1715,6 +1726,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.mantle.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Profile;
};
Expand Down
6 changes: 3 additions & 3 deletions Mantle.xcodeproj/xcshareddata/xcschemes/Mantle Mac.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
LastUpgradeVersion = "0800"
version = "2.0">
<BuildAction
parallelizeBuildables = "NO"
Expand Down Expand Up @@ -30,7 +30,7 @@
BuildableIdentifier = "primary"
BlueprintIdentifier = "1F925EAC195C0D6300ED456B"
BuildableName = "Nimble.framework"
BlueprintName = "Nimble-OSX"
BlueprintName = "Nimble-macOS"
ReferencedContainer = "container:Carthage/Checkouts/Nimble/Nimble.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -44,7 +44,7 @@
BuildableIdentifier = "primary"
BlueprintIdentifier = "DAEB6B8D1943873100289F44"
BuildableName = "Quick.framework"
BlueprintName = "Quick-OSX"
BlueprintName = "Quick-macOS"
ReferencedContainer = "container:Carthage/Checkouts/Quick/Quick.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
LastUpgradeVersion = "0800"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
Expand Down

0 comments on commit d6b0128

Please sign in to comment.