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: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle 'com***'."

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

3.App Store Connect Operation Error

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.xcode构建上传时报错如下图:

成功构建过一次后,再次构建同意版本,build需要累加1

5.xcode构建成功后,上传到appstore


Dear Developer,

We identified one or more issues with a recent delivery for your app, "猛犸象". Please correct the following issues, then upload again.

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).

Best regards,

The App Store Team


原因:info.plist 文件中使用相册定位等时描述导致的问题

修改:

NSCameraUsageDescription

“***APP”需要在扫描二维码时使用您的相机权限,请点击“好”以允许访问。若不允许, 你将无法使用拍照、扫一扫等功能。

NSLocationAlwaysUsageDescription

“***APP”需要使用的您的地理位置信息,以便为您提供更好的服务

NSLocationUsageDescription

“***APP”需要使用的您的地理位置信息,以便为您提供更好的服务

NSLocationWhenInUseUsageDescription

“***APP”需要使用的您的地理位置信息,以便为您提供更好的服务

NSPhotoLibraryAddUsageDescription

“***APP”需要在扫描二维码时使用您的相册权限,请点击“好”以允许访问。若不允许, 你将无法使用本地相册图片内容。

NSPhotoLibraryUsageDescription

“***APP”需要在扫描二维码时使用您的相册权限,请点击“好”以允许访问。若不允许, 你将无法使用本地相册图片内容。

UIBackgroundModes

你可能感兴趣的:(IOS上架遇到的问题(一))