LoginSignup
celery-mori
@celery-mori

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

App store connect ビルドアップロード時のエラーについて

SwiftUI初心者です。

SwiftUIでフォトライブラリ内の写真や動画を閲覧するアプリを作っています。
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. 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 are 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).

NSCameraUsageDescriptionを追加せよということかと思います。
このアプリではカメラを起動する機能は無いのですが、この追加はどうして必要なのでしょうか。

なおアプリ内で使用しているフレームワークは以下の通りです。
import SwiftUI
import UIKit
import Photos
import PhotoKit
import Combine
import WebKit
import AVKit
import LinkPresentation

その他にライブラリは入れていません。
スクリーンショットやフォトライブラリの写真や動画をシェアしたりフォトライブラリに保存する機能はあります(UIActicityViewControllerを使用)

環境: Xcode 12.5.1 Swift5.4

初めての質問で至らない点がありましたら申し訳ありません。
ご助言いただければ幸いです。
よろしくお願いいたします。

0

No Answers yet.

Your answer might help someone💌