본문 바로가기
개발/Unity

유니티 iOS Xcode ITMS-91053: Missing API declaration 해결법

by SPNK 2024. 3. 15.
반응형

오류 내용

3월 13일 이후 앱 스토어에 앱을 업데이트 할 경우 경고 메일이 오고 있습니다.

 

ITMS-91053: Missing API declaration - Your app’s code in the “앱 이름” 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

 


해결 방법

Xcode Info.plist 에 해당 문구를 추가합니다

    <key>NSPrivacyAccessedAPITypes</key>
    <array>
        <dict>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>CA92.1</string>
            </array>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>E174.1</string>
            </array>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
        </dict>
    </array>
</dict>
</plist>
반응형

댓글