Skip to content

Commit 20bb274

Browse files
authored
Merge pull request #282 from mattrubin/xcode-10
Update dependencies, tools, and CI configuration to work with Xcode 10.
2 parents 6dcffbd + c4b2bf8 commit 20bb274

File tree

14 files changed

+101
-56
lines changed

14 files changed

+101
-56
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ language: objective-c
55
xcode_workspace: Authenticator.xcworkspace
66
xcode_scheme: Authenticator
77

8-
osx_image: xcode9.3
8+
osx_image: xcode10
99

1010
env:
1111
- RUNTIME="iOS 9.0" DEVICE="iPhone 4s"
1212
- RUNTIME="iOS 9.3" DEVICE="iPhone 6s"
1313
- RUNTIME="iOS 10.0" DEVICE="iPhone SE"
1414
- RUNTIME="iOS 10.3" DEVICE="iPhone 7 Plus"
15-
- RUNTIME="iOS 11.0" DEVICE="iPhone X"
15+
- RUNTIME="iOS 11.0" DEVICE="iPhone 8"
16+
- RUNTIME="iOS 11.4" DEVICE="iPhone X"
17+
- RUNTIME="iOS 12.0" DEVICE="iPhone XS Max"
1618

1719
install:
1820
- git submodule update --init --recursive

Authenticator.xcodeproj/project.pbxproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
8B2B8AE1118BA49F00437315 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.md; sourceTree = "<group>"; };
108108
8BF5147F118799AE005C936F /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
109109
C910ADC01BF0315A00C988F5 /* TokenList.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TokenList.swift; sourceTree = "<group>"; };
110+
C91CDAEE214EEA82006488F7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
111+
C91CDAFD214EF044006488F7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
110112
C9204A841E886A3500998D3E /* Acknowledgements.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = Acknowledgements.html; sourceTree = "<group>"; };
111113
C92708AB19CFB0750033128B /* TokenListViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TokenListViewController.swift; sourceTree = "<group>"; };
112114
C931A5FC1BFF6F9D00706A1C /* .hound.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .hound.yml; sourceTree = "<group>"; };
@@ -421,6 +423,7 @@
421423
C9906A331812522100BAEF53 /* AuthenticatorTests */ = {
422424
isa = PBXGroup;
423425
children = (
426+
C91CDAEE214EEA82006488F7 /* Info.plist */,
424427
C983AB73197F98FC00975003 /* OTPAuthenticatorTests.m */,
425428
C9A1C1CD1E6CDBFB009E65D6 /* RootTests.swift */,
426429
CCC409751DB28BFE000A050D /* TableDiffTests.swift */,
@@ -448,6 +451,7 @@
448451
C9A262CE1E170BD4004E6CEB /* AuthenticatorScreenshots */ = {
449452
isa = PBXGroup;
450453
children = (
454+
C91CDAFD214EF044006488F7 /* Info.plist */,
451455
C9A262CF1E170BD4004E6CEB /* AuthenticatorScreenshots.swift */,
452456
C9A262D71E170E3A004E6CEB /* SnapshotHelper.swift */,
453457
);
@@ -570,7 +574,7 @@
570574
attributes = {
571575
CLASSPREFIX = OTP;
572576
LastSwiftMigration = 0700;
573-
LastSwiftUpdateCheck = 0820;
577+
LastSwiftUpdateCheck = 1000;
574578
LastUpgradeCheck = 0930;
575579
ORGANIZATIONNAME = "Matt Rubin";
576580
TargetAttributes = {
@@ -805,6 +809,7 @@
805809
baseConfigurationReference = C944A5731A7F772600E08B1E /* iOS-Application.xcconfig */;
806810
buildSettings = {
807811
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Authenticator.app/Authenticator";
812+
INFOPLIST_FILE = AuthenticatorTests/Info.plist;
808813
PRODUCT_NAME = "$(TARGET_NAME)";
809814
TEST_HOST = "$(BUNDLE_LOADER)";
810815
};
@@ -815,6 +820,7 @@
815820
baseConfigurationReference = C944A5731A7F772600E08B1E /* iOS-Application.xcconfig */;
816821
buildSettings = {
817822
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Authenticator.app/Authenticator";
823+
INFOPLIST_FILE = AuthenticatorTests/Info.plist;
818824
PRODUCT_NAME = "$(TARGET_NAME)";
819825
TEST_HOST = "$(BUNDLE_LOADER)";
820826
};
@@ -824,6 +830,7 @@
824830
isa = XCBuildConfiguration;
825831
baseConfigurationReference = C944A5731A7F772600E08B1E /* iOS-Application.xcconfig */;
826832
buildSettings = {
833+
INFOPLIST_FILE = AuthenticatorScreenshots/Info.plist;
827834
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
828835
PRODUCT_BUNDLE_IDENTIFIER = me.mattrubin.authenticator.screenshots;
829836
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -835,6 +842,7 @@
835842
isa = XCBuildConfiguration;
836843
baseConfigurationReference = C944A5731A7F772600E08B1E /* iOS-Application.xcconfig */;
837844
buildSettings = {
845+
INFOPLIST_FILE = AuthenticatorScreenshots/Info.plist;
838846
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
839847
PRODUCT_BUNDLE_IDENTIFIER = me.mattrubin.authenticator.screenshots;
840848
PRODUCT_NAME = "$(TARGET_NAME)";

Authenticator.xcodeproj/xcshareddata/xcschemes/Authenticator Demo.xcscheme

Lines changed: 1 addition & 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 = "0930"
3+
LastUpgradeVersion = "1000"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Authenticator.xcodeproj/xcshareddata/xcschemes/Authenticator.xcscheme

Lines changed: 1 addition & 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 = "0930"
3+
LastUpgradeVersion = "1000"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

AuthenticatorScreenshots/Info.plist

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>

AuthenticatorTests/Info.plist

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Configuration for Carthage (https://github.com/Carthage/Carthage)
22

3-
github "mattrubin/OneTimePassword" ~> 3.1.3
3+
github "mattrubin/OneTimePassword" ~> 3.1.4
44
github "SVProgressHUD/SVProgressHUD" ~> 2.0

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Configuration for Carthage (https://github.com/Carthage/Carthage)
22

33
github "jspahrsummers/xcconfigs"
4-
github "shinydevelopment/SimulatorStatusMagic" ~> 2.0
4+
github "shinydevelopment/SimulatorStatusMagic"

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
github "SVProgressHUD/SVProgressHUD" "2.2.5"
22
github "jspahrsummers/xcconfigs" "0.12"
33
github "mattrubin/Base32" "xcode9"
4-
github "mattrubin/OneTimePassword" "3.1.3"
5-
github "shinydevelopment/SimulatorStatusMagic" "2.1"
4+
github "mattrubin/OneTimePassword" "3.1.4"
5+
github "shinydevelopment/SimulatorStatusMagic" "2.2"

0 commit comments

Comments
 (0)