Skip to content

Commit

Permalink
enable additional InterfaceOrientations for usage on iPad
Browse files Browse the repository at this point in the history
  • Loading branch information
saerdnaer committed Jan 24, 2021
1 parent 9a49652 commit f8b788b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions BuildConfig/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

ARCHS = armv7 arm64
ARCHS = arm64
SDKROOT = iphoneos

MACOSX_DEPLOYMENT_TARGET = 10.7
Expand All @@ -12,7 +12,7 @@ CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer

IPHONEOS_DEPLOYMENT_TARGET = 8.0

TARGETED_DEVICE_FAMILY = 1 // iPhone
TARGETED_DEVICE_FAMILY = 1,2 // iPhone, iPad

ALWAYS_SEARCH_USER_PATHS = NO
USER_HEADER_SEARCH_PATHS =
Expand Down
10 changes: 6 additions & 4 deletions Mumble.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
Expand All @@ -1320,7 +1320,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
Expand Down Expand Up @@ -1464,14 +1464,15 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = AppStore;
};
28BC1E7A1227155500C03FCF /* BetaDist */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 285E2A62150D729B008AE185 /* BetaDist.xcconfig */;
buildSettings = {
TARGETED_DEVICE_FAMILY = "1,2";
};
name = BetaDist;
};
Expand All @@ -1481,7 +1482,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = 1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = BetaDist;
};
Expand All @@ -1497,6 +1498,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 285E2A64150D729B008AE185 /* Release.xcconfig */;
buildSettings = {
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
Expand Down
5 changes: 4 additions & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down Expand Up @@ -106,6 +106,9 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

0 comments on commit f8b788b

Please sign in to comment.