Skip to content

Commit 9447c17

Browse files
committed
Поправил info.plist для архивации
И добавил в UI-тест таргет iPad
1 parent 4369e4b commit 9447c17

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

SwiftUI-WorkoutApp.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
275275
SWIFT_EMIT_LOC_STRINGS = NO;
276276
SWIFT_VERSION = 5.0;
277-
TARGETED_DEVICE_FAMILY = 1;
277+
TARGETED_DEVICE_FAMILY = "1,2";
278278
TEST_TARGET_NAME = "SwiftUI-WorkoutApp";
279279
};
280280
name = Debug;
@@ -297,7 +297,7 @@
297297
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
298298
SWIFT_EMIT_LOC_STRINGS = NO;
299299
SWIFT_VERSION = 5.0;
300-
TARGETED_DEVICE_FAMILY = 1;
300+
TARGETED_DEVICE_FAMILY = "1,2";
301301
TEST_TARGET_NAME = "SwiftUI-WorkoutApp";
302302
};
303303
name = Release;
@@ -464,6 +464,7 @@
464464
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
465465
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
466466
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
467+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
467468
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
468469
MARKETING_VERSION = 3.10.0;
469470
PRODUCT_BUNDLE_IDENTIFIER = com.FGU.WorkOut;
@@ -514,6 +515,7 @@
514515
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
515516
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
516517
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
518+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
517519
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
518520
MARKETING_VERSION = 3.10.0;
519521
PRODUCT_BUNDLE_IDENTIFIER = com.FGU.WorkOut;

0 commit comments

Comments
 (0)