Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How to completely remove Everyplay from my app?

Discussion in 'Unity Everyplay' started by Nadan, Feb 8, 2017.

  1. Nadan

    Nadan

    Joined:
    Jan 20, 2013
    Posts:
    341
    Hi, I used Everyplay but since my game is not so popular I removed from my game. However when I try to submit my game to App Store I get this error:

    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.

    Could this have something to do with Everyplay? I have deleted all the folders that had Everyplay but maybe its still haunting in the game somewhere? So if this error comes from Everyplay, how can I remove it from my game. Or fix the issue so I can submit my game update to the store.

    Thanks!
     
  2. ullatussimo

    ullatussimo

    Unity Technologies

    Joined:
    Jun 16, 2015
    Posts:
    108
    Hello @Nadan,

    Thanks for reaching out.

    If you do not have any other plugins that use the device Camera, the error may be caused by Everyplay files still remaining in the project. It's of course a bit tough to confirm whether this is the case without seeing the project.

    Our Unity plugin automatically adds the Camera Usage Description to the Xcode project, but on a native project it requires a bit of manual labor:

    1.) Open up your game's Xcode project
    2.) Go to project properties, Info tab
    3.) Verify that there is no mention of 'Privacy - Camera Usage Description'
    4.) Add a new key, add in "NSCameraUsageDescription" as the name. Alternatively, you can simply choose the 'Privacy - Camera Usage Description' from the list that opens when you start adding the new key.
    5.) Set the key's type to string, set the value to (for example): "Everyplay requires access to the camera".

    Same procedure needs to be done to Microphone Usage Description (NSMicrophoneUsageDescription) and Photo Library Usage Description (NSPhotoLibraryUsageDescription), but if you didn't receive complaints in the Apple's validation procedure about these, you should be good to go.

    If you then try to resubmit the build to App Store, it should go through.
    Finding the root cause for the issue would be interesting too.

    Is this a native or Unity project? Which folders did you delete?
    If this a Unity game, have you tried to clean the Xcode project / build it to a separate location?

    Cheers,
    Simo
     
  3. Nadan

    Nadan

    Joined:
    Jan 20, 2013
    Posts:
    341
    Hi Simo,

    I updated my Unity to 5.5.2 and got my game to App Store. So I quess the issue was fixed since I didn't change anything.
     
  4. dinhnguyen90

    dinhnguyen90

    Joined:
    Apr 3, 2017
    Posts:
    1