⬆️ Swift 4.2, Xcode 10

This commit is contained in:
Ben Chatelain 2018-10-01 20:06:38 -06:00
parent 70b9df74ed
commit e3d167dc10
4 changed files with 9 additions and 8 deletions

View file

@ -8,9 +8,7 @@
# #
os: osx os: osx
osx_image: xcode9.4 # macOS 10.13 osx_image: xcode10 # macOS 10.13
xcode_sdk: macosx10.13
language: objective-c
env: env:
global: global:

View file

@ -15,7 +15,7 @@ class Mas < Formula
sha256 "a99d0d7baecf45a00787365a2a078ae94068a0c63012e87f92282efb120e586e" => :yosemite sha256 "a99d0d7baecf45a00787365a2a078ae94068a0c63012e87f92282efb120e586e" => :yosemite
end end
depends_on :xcode => ["9.3", :build] depends_on :xcode => ["10.0", :build]
resource "cocoapods" do resource "cocoapods" do
url "https://dl.bintray.com/phatblat/mas-bottles/master.tar.gz" url "https://dl.bintray.com/phatblat/mas-bottles/master.tar.gz"

View file

@ -11,7 +11,7 @@ class Mas < Formula
sha256 "af5be6aa9902d9cfc2aa69dbf313441a7c201463d516face721f900ceae9556b" => :sierra sha256 "af5be6aa9902d9cfc2aa69dbf313441a7c201463d516face721f900ceae9556b" => :sierra
end end
depends_on :xcode => ["9.3", :build] depends_on :xcode => ["10.0", :build]
resource "cocoapods" do resource "cocoapods" do
url "https://dl.bintray.com/phatblat/mas-bottles/master.tar.gz" url "https://dl.bintray.com/phatblat/mas-bottles/master.tar.gz"

View file

@ -412,10 +412,11 @@
TargetAttributes = { TargetAttributes = {
ED031A771B5127C00097692E = { ED031A771B5127C00097692E = {
CreatedOnToolsVersion = 7.0; CreatedOnToolsVersion = 7.0;
LastSwiftMigration = 0920; LastSwiftMigration = 1000;
}; };
F8233C86201EBDF000268278 = { F8233C86201EBDF000268278 = {
CreatedOnToolsVersion = 9.2; CreatedOnToolsVersion = 9.2;
LastSwiftMigration = 1000;
ProvisioningStyle = Automatic; ProvisioningStyle = Automatic;
}; };
}; };
@ -640,6 +641,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.mphys.mas-cli"; PRODUCT_BUNDLE_IDENTIFIER = "com.mphys.mas-cli";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "App/mas-cli-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "App/mas-cli-Bridging-Header.h";
SWIFT_VERSION = 4.2;
}; };
name = Debug; name = Debug;
}; };
@ -659,6 +661,7 @@
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "App/mas-cli-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "App/mas-cli-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
}; };
name = Release; name = Release;
}; };
@ -686,7 +689,7 @@
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx; SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 4.0; SWIFT_VERSION = 4.2;
}; };
name = Debug; name = Debug;
}; };
@ -714,7 +717,7 @@
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx; SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0; SWIFT_VERSION = 4.2;
}; };
name = Release; name = Release;
}; };