IOS上架遇到的问题(一)

ios app上架遇到的问题,暂时做下记录。

1. iTunes Store operation failed:NO suitable application records were found.Verify your bundle identifier 'com***'is correct

原因:未在App Store connect上创建app

2. App Store Connect Operation Error – ERROR ITMS-90474:

具体报错:ERROR ITMS-90474: “Invalid Bundle. iPad Multitasking support requires these orientations: ‘UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight’. Found ‘UIInterfaceOrientationPortrait’ in bundle ‘com***’.”

原因:由于提交app适配ios9的ipad的分屏导致的,只要如下图操作就可以了

在这里插入图片描述Xcode升级之后 版本xcode 11.1 已经没有这个选项了

3. App Store Connect Operation Error–ERROR ITMS-90717:

具体报错:ERROR ITMS-90717: “Invalid App Store Icon. The App Store Icon in the asset catalog in ‘***.app’ can’t be transparent nor contain an alpha channel.”

原因:发布时需要上传窜1024的图片,但是一般UI给的图片可能带有alpha,将1024的png图片重新导出将alpha去掉

在这里插入图片描述

4. App Store Connect Operation Error–ERROR ITMS-90189:

在这里插入图片描述
原因:成功构建过一次后,再次构建同意版本,build需要累加1

5. Missing Purpose String in Info.plist File

Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSCameraUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn’t contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).

问题描述中已经写出缺少哪些key,直接添加到info.plist中,并写上为什么要使用这个功能

<key>NSCameraUsageDescription</key>
<string>**APP”需要在扫描二维码时使用您的相机权限,请点击“好”以允许访问。若不允许, 你将无法使用拍照、扫一扫等功能。</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>**APP”需要使用的您的地理位置信息,以便为您提供更好的服务</string>
<key>NSLocationUsageDescription</key>
<string>**APP”需要使用的您的地理位置信息,以便为您提供更好的服务</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>**APP”需要使用的您的地理位置信息,以便为您提供更好的服务</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>**APP”需要在扫描二维码时使用您的相册权限,请点击“好”以允许访问。若不允许, 你将无法使用本地相册图片内容。</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>**APP”需要在扫描二维码时使用您的相册权限,请点击“好”以允许访问。若不允许, 你将无法使用本地相册图片内容。</string>
<key>UIBackgroundModes</key>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值