ios问题记录

背景:

本地xocode 上传文件到 testflight,显示是上传成功了的。 但是网页中 testflight 中并没有上传的版本。查看邮件 发现下面的

Please correct the following issues and upload a new binary to App Store Connect.

ITMS-90683: Missing purpose string in Info.plist - Your app's code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the "Runner.app" bundle should contain a NSAppleMusicUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. 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. For details, visit: Requesting access to protected resources | Apple Developer Documentation.

Though you are not required to fix the following issues, we wanted to make you aware of them:

ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the 'aps-environment' entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see Local and Remote Notification Programming Guide: Configuring Remote Notification Support.

Apple Developer Relations

在ios中加入 NSAppleMusicUsageDescription key

解决问题一、 ITMS-90683: Missing purpose string in Info.plist NSAppleMusicUsageDescription

因为程序中有获取媒体库的功能

加入下面的

<key>NSAppleMusicUsageDescription</key>

<string>App 需要您的同意,才能访问媒体资料库</string>

解决问题二、ITMS-90078: Missing Push Notification Entitlement

因为程序中有推送的功能

<key>UIBackgroundModes</key>

<array>

<string>fetch</string>

<string>remote-notification</string>

</array>

相关推荐
松叶似针8 小时前
Flutter三方库适配OpenHarmony【secure_application】— OpenHarmony 插件工程搭建
flutter·harmonyos
lqj_本人10 小时前
Flutter三方库适配OpenHarmony【apple_product_name】华为nova系列设备映射表
flutter·华为
空白诗12 小时前
基础入门 Flutter for OpenHarmony:ClipRRect 圆角裁剪组件详解
flutter
键盘鼓手苏苏12 小时前
Flutter for OpenHarmony 实战:just_audio 音乐播放器深度适配与进阶
flutter
松叶似针14 小时前
Flutter三方库适配OpenHarmony【secure_application】— FlutterPlugin 接口实现与注册
flutter
空白诗14 小时前
基础入门 Flutter for OpenHarmony:Positioned 定位组件详解
flutter
松叶似针14 小时前
Flutter三方库适配OpenHarmony【secure_application】— iOS 端原生模糊遮罩实现分析
flutter·ios·cocoa
空白诗15 小时前
基础入门 Flutter for OpenHarmony:Icon 图标组件详解
flutter
钛态15 小时前
Flutter for OpenHarmony:mason_cli 拒绝重复劳动,用砖块构建你的代码模板(强大的脚手架生成器) 深度解析与鸿蒙适配指南
flutter·ui·华为·自动化·harmonyos
vx-bot55566615 小时前
企业微信ipad协议的会话管理机制与本地同步策略
ios·企业微信·ipad