Skip to content

Commit c4b2bf8

Browse files
committed
Add an Info.plist to AuthenticatorScreenshots
As of Xcode 10, some runtimes fail to launch the test bundle if the Info.plist is missing.
1 parent 7c0d145 commit c4b2bf8

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Authenticator.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
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>"; };
110110
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>"; };
111112
C9204A841E886A3500998D3E /* Acknowledgements.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = Acknowledgements.html; sourceTree = "<group>"; };
112113
C92708AB19CFB0750033128B /* TokenListViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TokenListViewController.swift; sourceTree = "<group>"; };
113114
C931A5FC1BFF6F9D00706A1C /* .hound.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .hound.yml; sourceTree = "<group>"; };
@@ -450,6 +451,7 @@
450451
C9A262CE1E170BD4004E6CEB /* AuthenticatorScreenshots */ = {
451452
isa = PBXGroup;
452453
children = (
454+
C91CDAFD214EF044006488F7 /* Info.plist */,
453455
C9A262CF1E170BD4004E6CEB /* AuthenticatorScreenshots.swift */,
454456
C9A262D71E170E3A004E6CEB /* SnapshotHelper.swift */,
455457
);
@@ -828,6 +830,7 @@
828830
isa = XCBuildConfiguration;
829831
baseConfigurationReference = C944A5731A7F772600E08B1E /* iOS-Application.xcconfig */;
830832
buildSettings = {
833+
INFOPLIST_FILE = AuthenticatorScreenshots/Info.plist;
831834
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
832835
PRODUCT_BUNDLE_IDENTIFIER = me.mattrubin.authenticator.screenshots;
833836
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -839,6 +842,7 @@
839842
isa = XCBuildConfiguration;
840843
baseConfigurationReference = C944A5731A7F772600E08B1E /* iOS-Application.xcconfig */;
841844
buildSettings = {
845+
INFOPLIST_FILE = AuthenticatorScreenshots/Info.plist;
842846
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
843847
PRODUCT_BUNDLE_IDENTIFIER = me.mattrubin.authenticator.screenshots;
844848
PRODUCT_NAME = "$(TARGET_NAME)";

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>

0 commit comments

Comments
 (0)