PhoneGap missing plist.key

后端 未结 6 924
一向
一向 2021-02-09 03:02

When I try and load upload my iTunes app installer to iTunes I relieve this error:

Missing Info.plist key - This app attempts to access privacy-sensitive

6条回答
  •  轮回少年
    2021-02-09 04:05

    None of the answers here worked for me exactly so I figure I should add my two cents as to how I got this working.

    First, I tried the accepted answer (the one written by jcesarmobile). When i tried this and ran: phonegap build ios everytime the configuration was deleted from my config.xml file. So next I tried the solution indicated here:

    http://geeklearning.io/how-to-add-specific-configuration-parameters-to-ios-p-list-and-android-manifest/

    This did not work at first, There were a number of changes that had to be made, all of which I got from the github repo comments on the file. I suggest you run the build, copy the error message and search in the comments and do what they say. Once I got it to build again, It still did not work upon uploading the itunes connect.

    In the end I had to open up the Info.plist file and manually put in the following

    NSCameraUsageDescription
    We are using the Camera to (blah blah blah, your explanation)
    NSPhotoLibraryUsageDescription
    We are using the Photo Library to (your reason)
    NSMainNibFile
    

    Even though the hook did not do exactly as it claimed I still think it was important because before I did this everything was getting deleted, and now it stays put.

    I hope this helps someone out.

提交回复
热议问题