iOS Question On windows machine using Upload App to Itunes Connect, i got email with error

omarruben

Active Member
Licensed User
Longtime User
Hello , I just try to publish an app , using a windows machine and hosted builder, after I upload the app using iTunes connect, I received an email:

***************

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

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

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

*************

where do I change or set the values? any help will be very appreciated, thank you
 

BillMeyer

Well-Known Member
Licensed User
Longtime User
I guess your are using the Camera in your app and saving the image.

In your Main Code Module, put the following:

B4X:
'Code module
#Region  Project Attributes
    #PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select a photo.</string>
    #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string>
#End Region

If you do not use Push Notifications either remove it from your certificates or just ignore the 3rd message

Enjoy !!
 
Upvote 0

omarruben

Active Member
Licensed User
Longtime User
Thank you so much #BillMeyer it works just fine, just one more question , I am using VideView to play an audio stream, the app does not need to takes photos or access to them, is there any way to let users or Apple that?
 
Upvote 0
Top