Apple rejected app asking to provide relevant purpose string Info.plist

20,725

Solution 1

Just write this: This app requires access to the photo library to upload your profile photo.

You can replace profile with whatever it's for.

Solution 2

With message you can follow this steps: 1. Open your Info.plist 2. Find this lines and change your message

<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) would like to use your camera</string>

<key>NSPhotoLibraryAddUsageDescription</key>
<string>$(PRODUCT_NAME) would like to save photos to your photo gallery</string>

<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) would like access to your photo gallery</string>

Solution 3

You need to explain why you require access to the users photo library. So something like “to save illustrations made in the app”.

Share:
20,725
Vaughn
Author by

Vaughn

Updated on February 25, 2020

Comments

  • Vaughn
    Vaughn over 4 years

    Apple rejected app as the permission description doesn't seem to be ok. What exactly the description should be for photo library?

    Here is what they said. We noticed that your app requests the user’s consent to access their photos but does not clarify the use of the photos in the applicable purpose string.

    What exact description should I write?

    Following is my description

    enter image description here

  • Vaughn
    Vaughn over 5 years
    Googled for some ideas, found this. Will this be suffice? ....App would like to access your photo gallery for your profile photo upload. Your photos wont be shared without your permission.
  • darrenallen7
    darrenallen7 over 5 years
    That would work. Personally, I don’t think you even need the last sentence.
  • Vaughn
    Vaughn over 5 years
    Yes exactly, I've added only the first sentence.
  • Lothre1
    Lothre1 almost 5 years
    My app was refused and those lines were in my info.plist
  • Thai Ha
    Thai Ha almost 5 years
    You must change "$(PRODUCT_NAME) would like to use your camera" to string which explain why you need this permission.