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>

相关推荐
m0_738185829 分钟前
Flutter 鸿蒙化实战:webview_cookie_manager 适配 OpenHarmony,WebView Cookie 管理
flutter·华为·harmonyos·鸿蒙
终端安全笔记32 分钟前
声明式之后,怎么证明更新策略真的生效了
ios·iphone
FungLeo1 小时前
成为全栈·Flutter App 篇·服务端目录与文章辅助阅读:锚点、上下篇、浏览量和阅读历史
flutter·锚点·阅读体验·成为全栈·markdown目录·api契约
茶底世界之下1 小时前
瀑布的白色需要压住吗?用 Awaking 检查高光调整的边界
ios
TheLittleBoy2 小时前
iOS 27支持的设备列表
macos·ios·cocoa·ios 27
智能相对论2 小时前
STEPX Neo:AI终端的“初代iPhone时刻”
人工智能·ios·iphone
恋猫de小郭2 小时前
Flutter Android 改动:APK 不再允许通过 Intent 动态修改 Engine 参数
android·前端·flutter
小 黄 鸡12 小时前
Flutter 面试必会知识点详解(从基础到进阶)
flutter·面试·职场和发展
茶底世界之下17 小时前
灯塔照片怎么裁竖幅?用 Awaking 留住塔顶,收紧两侧环境
ios
大龄秃头程序员19 小时前
Flutter 最少代码验证:为什么子 Isolate 调原生,一定要先回到主 Isolate?
flutter