24년 4월 8일 기준 IOS 앱 업데이트가 있어 업로드를 했더니 메일이 하나 왔더라구요.
두 가지 문제에 대해서 처리해야되는 내용입니다.
사용 이유를 필수로 작성해야 하는 API에 대한 설명이 'PrivacyInfo'에 입력되어 있지 않으면 오는 메일입니다. 2024년 5월 1일부터는 이 설명을 작성하지 않은 앱은 App Store Connect에서 반려가 된다고 하니 미리 작성을 해두면 좋을 것 같습니다
App Store Connect
Hello,
We noticed one or more issues with a recent submission for App Store review for the following app:
xxxxxxxxxxxxx
Version 1.0.2
Build 80
Although submission for App Store review was successful, you may want to correct the following issues in your next submission for App Store review. Once you've corrected the issues, upload a new binary to App Store Connect.
ITMS-91053: Missing API declaration - Your app’s code in the “xxxxxxxxx” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.
ITMS-91053: Missing API declaration - Your app’s code in the “xxxxxxxxxx” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.
Apple Developer Relations
NSPrivacyAccessedAPICategoryFileTimestamp
- 해당 내용은 iCloud Kit을 사용해서 PrivacyInfo에 소명? 하라는거 같습니다.
Privacy Accessed API Types
> Item 0
> Privacy Accessed API Type File Timestamp
> Privacy Accessed API Reasons
> Item 0 C617.1: Inside app or group container, per documentation
NSPrivacyAccessedAPICategoryUserDefaults
- 해당 내용은 흔히 사용하는 UserDefaults 사용에 대한 내용을 추가하라는거 같습니다.
Privacy Accessed API Types
> Item 0
> Privacy Accessed API Type User Defaults
> Privacy Accessed API Reasons
> Item 0 CA92.1: Access info from same app, per documentation
[처리방법]
New File - PrivacyInfo.xcprivacy 파일을 생성합니다.
이미지를 첨부하지 못하는 관계로 코드로 표기합니다.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
</dict>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
</dict>
</plist>
빌드해서 다시 업로드 하면 됩니다. 어찌됬든 5월 1일부터는 해당 내용을 적용하지 않으면 리젝된다니 미리 해놓시는게 좋을거 같습니다.
'Swift > 기타' 카테고리의 다른 글
[IOS] Universal Link 연동 하기 (0) | 2024.06.20 |
---|---|
[SWIFT]Lottie 애니메이션 Loading UI (0) | 2024.06.11 |
Mac OS Host파일 변경 (0) | 2024.01.02 |
XCode 빌드 번호 자동증가 시키기 (0) | 2023.12.22 |
[SWIFT]FaceID, TouchID 설정화면 이동 (1) | 2023.11.28 |