iOS提交应用到 AppStore的时候,报错Asset validation failed

终于开发完应用,在提交到 App Store 的时候,报如下的错误:

Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchScreen.storyboard launch storyboard file in your com.xxxxx.xxxxxx bundle. Use UILaunchScreen instead if the app’s MinimumOSVersion is 14 or higher and you prefer to configure the launch screen without storyboards. For details, see: https://developer.apple.com/documentation/bundleresources/information_property_list/uilaunchstoryboardname (ID: 529755e8-c1fc-41da-98bf-70d50b2a7114)

CleanShot 2023-07-13 at 20.33.09@2x.png

按照提示,打开文档UILaunchStoryboardName | Apple Developer Documentation
CleanShot 2023-07-13 at 20.38.47@2x.png

可以看到,需要指定不需要带着扩展名的值

如果你的应用还是坚持要支持Multitasking,那么就需要在 info.plist 修改Launch screen interface file base name的值为LaunchScreen, 不要带扩展名。
CleanShot 2023-07-13 at 20.42.06@2x.png


已发布

分类

,

作者:

标签

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注