iOS Question Issues with uploaded app

MitchBu

Well-Known Member
Licensed User
Longtime User
After uploading my app, I received the message below from Apple. How do I fix that ?

Thank you.

-----
Dear Developer,


We identified one or more issues with a recent delivery for your app, "Check Printer+" 1.0.1 (1.0.1). 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).


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


Though you are not required to fix the following issues, we wanted to make you aware of them:


ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the 'aps-environment' entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library...s.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.
 

roumei

Active Member
Licensed User
Simply add the following purpose strings in Main under #Region Project Attributes. You might want to change the description if your app accesses the photo library or the camera. If not, the messages will never be shown to the user.
B4X:
#PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select a photo to combine with the screenshot.</string>
#PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string>
You can safely ignore the Missing Push Notification Entitlement message.
 
Upvote 0

MitchBu

Well-Known Member
Licensed User
Longtime User
Simply add the following purpose strings in Main under #Region Project Attributes. You might want to change the description if your app accesses the photo library or the camera. If not, the messages will never be shown to the user.
B4X:
#PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select a photo to combine with the screenshot.</string>
#PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string>
You can safely ignore the Missing Push Notification Entitlement message.

Superb! Thank you roumei :)
 
Upvote 0
Top