PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → ITMS-90683: Missing Purpose String in Info.plist  (NSLocationAlwaysUsageDescription )
ITMS-90683: Missing Purpose String in Info.plist (NSLocationAlwaysUsageDescription )
Iniciado por markus.ratzesberger, jun., 26 2019 11:47 AM - 7 respostas
Publicado em junho, 26 2019 - 11:47 AM
Hi!

After I uploading my iOS app to the app store I got the following message from Apple App Store, what can I do?


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 NSLocationAlwaysUsageDescription 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).

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 NSLocationWhenInUseUsageDescription 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).
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect



Best regards
Markus
Publicado em junho, 26 2019 - 2:24 PM
You need to fill out the descriptive strings on the Permissions page when you're generating the app in WM. They are used by the framework so you have to fill them out whether your app uses them or not. "Needed to provide localization" or something similar.
Publicado em junho, 26 2019 - 2:51 PM
That is easy, you forgot to Fill some of the descriptions on the APP generation Wizzard in Windev. That wizzard has a section where you Add the text explaining why do you need / or what are used for the permissions you are asking the APP to have. If you dont place a text in there and you are using certain functionality you will get that error. Once you have filled in the text on the Wizzard that text will be included in your XCODE project and you will be able to submit again.
Publicado em junho, 26 2019 - 3:40 PM
Pefect, that works. THX!

br
Markus
Membro registado
10 mensagems
Publicado em junho, 26 2019 - 3:46 PM
THX to all, it works.

--
br
markus
Publicado em junho, 26 2019 - 4:11 PM
You can expect Apple to reject your app again when you submit it for review, due to the known "itms-services URL scheme" problem (see the other threads here and in the French forum). The problem is fixed in WM Update 3 for the French version but the English and Spanish edition users are SOL for now :(
Publicado em junho, 26 2019 - 7:26 PM
@Andy French, hello Andy. I have spoken with PCSOFT technical support and they said the update for us english/spanish users will be available for download during this weekend. If you CANT wait until the weekend you can request the patch with your serial number and after verification they will send you a download link for the library so you can publish the APP before the update is publicly available, that is what i did and i could publish and approve the IOS app without a problem.
Publicado em junho, 26 2019 - 11:51 PM
Thanks for that info @WindevCol. Hopefully the update will be available for download Monday morning. We might request the pre-release version anyway as an insurance measure.