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”.
Author by
Vaughn
Updated on February 25, 2020Comments
-
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
-
Vaughn over 5 yearsGoogled 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 over 5 yearsThat would work. Personally, I don’t think you even need the last sentence.
-
Vaughn over 5 yearsYes exactly, I've added only the first sentence.
-
Lothre1 almost 5 yearsMy app was refused and those lines were in my info.plist
-
Thai Ha almost 5 yearsYou must change "$(PRODUCT_NAME) would like to use your camera" to string which explain why you need this permission.