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>

相关推荐
SoaringHeart4 小时前
Flutter 查缺补漏:@JsonKey 属性全解,让模型层不再被后端字段牵着走
flutter
Fatbobman(东坡肘子)6 小时前
快速消失的硬盘容量 -- 肘子的 Swift 周报 #160
开发语言·人工智能·redis·ios·swiftui·iphone·swift
茶底世界之下14 小时前
斜光下的旧自行车:用 Awaking 留一版复古胶片色
ios·app·产品
恋猫de小郭17 小时前
Flutter 可以更直接地调用原生 API 了,Dart Direct Native Interop
android·前端·flutter
2501_9160088917 小时前
iPhone 设备信息查看,用 KeyMob 看型号、序列号、电池健康和 UDID
android·ios·小程序·https·uni-app·iphone·webview
码点18 小时前
二.Flutter 速成第二课:核心概念与第一个自定义页面
flutter
好的佩奇1 天前
蓝牙之通信架构
android·flutter·蓝牙
茶底世界之下2 天前
iPhone Duo 适配实战,Awaking 踩过的 8 个坑
ios·swiftui·swift
跨境数据猎手2 天前
HTTP 响应体编码与压缩:识别、解码
网络协议·http·ios
也非非也2 天前
iPhone 中国区 AI 落地:Apple 与阿里千问合作的技术观察
大数据·人工智能·ios·agent·iphone·智子