iOS上线错误(iPad及启动页)

释放双眼,带上耳机,听听看~!

今日新版本上线,新版本改动之一是适配了iPad版本,除了代码适配以外,还有启动页。在之前版本中,启动页通过Launch Screen布局。新版本中在Launch Images插入了不同尺寸的启动页图片,于是在上线过程中出现了几个问题。

1.Invalid Bundle.iPad Multitasking support requires launch story board in bundle ’com.xxxx.xxxx’

由于iOS9 iPad的分屏适配导致,移除对iPad Multitasking的支持即可。在项目属性中选择General,勾选Requires full screen 即可。也可适配iPad Multitasking,根据项目的需求适配。

2.Invalid Bundle.iPad Multitasking support requires these orientations:

‘UIInterfaceOrientationPortaint,UIInterfaceOrientationPortaintUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight’. Found ’UIInterfaceOrientationPortaint’ in Bundle  ‘com.xxxx.xxxx’

解决方法同1,均是由于iPad Multitasking导致,根据项目需求适配。

3.“Your binary is not optimized for iPhone 5 – New iPhone apps and app update submitted must support the 4-rich display on iPhone 5 and must include a launch image referenced in the info.plist under UILaunchImages with a UILaunchImageSize value
set to {320 ,568}. Launch images must be PNG files and located at the top-level of your bundle,or provided within each. Iproj folder if you loalize your images. Learn more abort iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’
at ‘https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SE5
’ and the’iOS App programing Guide’ at ‘‘https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12
’.”

在启动页中缺少4英寸的图片,添加640*1136 及 320*568尺寸即可

 

人已赞赏
iOS文章

解决iOS中HTTP请求不能正常使用

2020-5-13 17:17:03

iOS文章

iOS 错误和异常处理

2020-5-13 18:31:56

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
有新消息 消息中心
搜索