Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by sperepel · May 22, 2018 at 08:18 PM · iosbuildcloud

Info.plist must contain an NSPhotoLibraryUsageDescription key

Hi,

I'm getting this message from iTunes Connect when submitting my IPA file built with cloud build:

 Dear Developer,

 We identified one or more issues with a recent delivery for your app. 
 Please correct the following issues, then upload again.


 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.

 Best regards,

 The App Store Team

Can you please help me? Thank you

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by MacDx · May 22, 2018 at 08:56 PM

Yes that usually happens if your app uses the iOS device camera but said key (NSPhotoLibraryUsageDescription) is not defined. All that key does is show the user the message defined within that key when the app needs to use the camera and the user needs to authorize said usage.


To define that key you need to open the XCode project Unity's build process outputs, then look for the Info.plist file, if I recall correctly you can find it on the left side of the window, along with the other project files (if I'm wrong just google Info.plist). Select it and you'll be shown a list of key-value pairs. Then you just need to add the aforementioned key to the list and put anything you want as a value, for example: AppName needs to use your camera to do bla and bla.


Hope this helps!

Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sperepel · May 22, 2018 at 09:48 PM 0
Share

Yeah but the problem is I dont have mac and xcode I use cloud build to build for ios. :(

avatar image MacDx sperepel · May 22, 2018 at 10:03 PM 0
Share

Trying to develop and publish for iOS/$$anonymous$$ac without owning a $$anonymous$$ac is a daring/challenging thing to do but it is not impossible I think.


Anyways, locate the Info.plist and try editing with this then:

http://www.icopybot.com/plist-editor.htm (I just found it and I have never tried it so use it at your own risk).

If this doesn't work then you'll need to get a $$anonymous$$ac :/


Regards

avatar image sperepel · May 23, 2018 at 01:23 PM 0
Share

Even if I have mac, the point is that the cloud build is not producing valid IPA file :(

avatar image MacDx sperepel · May 23, 2018 at 09:08 PM 0
Share

Ah... huh? I already explained why that is happening in my answer

avatar image sperepel MacDx · May 23, 2018 at 09:26 PM 0
Share

Yeah I got it, just cant use cloud build...I wish unity would fix it.

Show more comments
avatar image kaplica sperepel · May 23, 2018 at 09:20 PM 0
Share

That's because your build does not contain the description for the access request of the photo library. You will not get a valid IPA file regardless of what you do, and this is something you need to correct in your build not cloud build.

avatar image sperepel kaplica · May 24, 2018 at 01:09 PM 0
Share

Where would I correct that? I did specify the camera usage and the other two.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

176 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cloud build ios : This device was signed for the App Store and connot be installed 1 Answer

Can't install profile for the Device Detection to install a Cloud Build shared IPA 0 Answers

Getcomponent fails when built from cloud build 1 Answer

iOS Bundle ID has not been set up, Unity Cloud Build 1 Answer

Unity Cloud Build IOS Failed 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges