AppStoreConnect에 빌드를 올렸는데 등록이 되지 않고 아래와 같은 이메일을 받았다.
Dear Developer, We identified one or more issues with a recent delivery for your app, "앱이름" 1.0.0 (3). Please correct the following issues, then upload again. 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 NSPhotoLibraryUsageDescription 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). Best regards, The App Store Team |
앱을 통해 유저의 권한을 요청하기 때문에, 그에 대한 사유를 적으라는 것으로 보인다.
나는 PhotoLibrary에 대한 사유만 적으라고 알림이 왔지만 이외에도 GPS, 블루투스 등 다양한 사유로 전달된다.
해결방법
info.plist에 아래와같이 코드를 추가해준다.
<key>NSPhotoLibraryUsageDescription</key>
<string>App would like to use your bluetooth for communication purposes</string>
반응형