iOS/Xcode

[iOS/Xcode] 아카이브했을 때 발생하는 UIInterfaceOrientation 이슈

thoonk: 2024. 3. 8. 15:22
반응형

에러 내용:

Asset validation failed

Invalid bundle. The “UIInterfaceOrientationPortrait” orientations were provided for the UISupportedInterfaceOrientations Info.plist key in the {Project Bundle Identifier} bundle, but you need to include all of the “UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight” orientations to support iPad multitasking. For details, visit: https://developer.apple.com/documentation/bundleresources/information_property_list/uisupportedinterfaceorientations. (ID: {Error ID})

원인:

  • iPad 멀티태스킹을 지원하기 위해선 모든 orientations을 지원해야 한다는 오류 내용, LandscapeLeft, LandscapeRight만 지원해서 오류가 발생했음.

해결:

  • 멀티태스킹을 지원하기 위해서 모든 orientations을 지원하거나 General > Development Info > Requires full screen 선택 후 필요한 orientations만 지원

Ref.

https://hamthoven.hashnode.dev/archive-error-uiinterfaceorientation

반응형