{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/build/issues/615","repository_url":"https://api.github.com/repos/phonegap/build","labels_url":"https://api.github.com/repos/phonegap/build/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/build/issues/615/comments","events_url":"https://api.github.com/repos/phonegap/build/issues/615/events","html_url":"https://github.com/phonegap/build/issues/615","id":281888745,"number":615,"title":"Keys added using edit-config no longer included in Info.plist for iOS","user":{"login":"mesquaredinc","id":34522477,"avatar_url":"https://avatars2.githubusercontent.com/u/34522477?v=4","gravatar_id":"","url":"https://api.github.com/users/mesquaredinc","html_url":"https://github.com/mesquaredinc","followers_url":"https://api.github.com/users/mesquaredinc/followers","following_url":"https://api.github.com/users/mesquaredinc/following{/other_user}","gists_url":"https://api.github.com/users/mesquaredinc/gists{/gist_id}","starred_url":"https://api.github.com/users/mesquaredinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesquaredinc/subscriptions","organizations_url":"https://api.github.com/users/mesquaredinc/orgs","repos_url":"https://api.github.com/users/mesquaredinc/repos","events_url":"https://api.github.com/users/mesquaredinc/events{/privacy}","received_events_url":"https://api.github.com/users/mesquaredinc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-13T20:43:17Z","updated_at":"2018-03-28T11:47:30Z","closed_at":"2017-12-14T19:06:46Z","author_association":"NONE","body":"I use <edit-config> entries in config.xml for a number of purposes.  They have worked perfectly [since introduced in August 2017](https://forums.adobe.com/message/9770916#9770916).  However, sometime in the last few days they stopped working.  Builds I created prior to December 12 work as expected.  \r\n\r\nBuilds [I and others](https://forums.adobe.com/message/10038251#10038251) create now do not work as expected, and upon inspection the Info.plist file does not contain the edits. \r\n\r\nHere are some examples from config.xml.\r\n\r\n```\r\n  <edit-config target=\"UIRequiresFullScreen\" file=\"*-Info.plist\" mode=\"overwrite\">\r\n    <false/>\r\n  </edit-config>\r\n\r\n  <edit-config target=\"NSCameraUsageDescription\" file=\"*-Info.plist\" mode=\"merge\">\r\n    <string>Used to attach photos to quotes and orders</string>\r\n  </edit-config>\r\n\r\n  <edit-config target=\"NSPhotoLibraryUsageDescription\" file=\"*-Info.plist\" mode=\"merge\">\r\n    <string>Used to attach photos to quotes and orders</string>\r\n  </edit-config>\r\n\r\n  <edit-config target=\"LSApplicationQueriesSchemes\" file=\"*-Info.plist\" mode=\"overwrite\">\r\n    <array>\r\n      <string>ontop</string>\r\n    </array>\r\n  </edit-config>\r\n```\r\n\r\nJust to be clear again. nothing has changed in my config.xml recently.  This has been working flawless for months.  It just stopped working in the last day or two."},"comment":{"url":"https://api.github.com/repos/phonegap/build/issues/comments/376858101","html_url":"https://github.com/phonegap/build/issues/615#issuecomment-376858101","issue_url":"https://api.github.com/repos/phonegap/build/issues/615","id":376858101,"user":{"login":"LayZeeDK","id":6364586,"avatar_url":"https://avatars1.githubusercontent.com/u/6364586?v=4","gravatar_id":"","url":"https://api.github.com/users/LayZeeDK","html_url":"https://github.com/LayZeeDK","followers_url":"https://api.github.com/users/LayZeeDK/followers","following_url":"https://api.github.com/users/LayZeeDK/following{/other_user}","gists_url":"https://api.github.com/users/LayZeeDK/gists{/gist_id}","starred_url":"https://api.github.com/users/LayZeeDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LayZeeDK/subscriptions","organizations_url":"https://api.github.com/users/LayZeeDK/orgs","repos_url":"https://api.github.com/users/LayZeeDK/repos","events_url":"https://api.github.com/users/LayZeeDK/events{/privacy}","received_events_url":"https://api.github.com/users/LayZeeDK/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T11:47:30Z","updated_at":"2018-03-28T11:47:30Z","author_association":"NONE","body":">My issue seems to be fixed. I built my apps this morning, no change to my config.xml, and everything is working again. Thank you to my mysterious benefactor!\r\n>\r\n>@oleksiy-nesterov - what do you mean when you say \"outside tag\"?\r\n\r\nIt seems that `<edit-config>` tags do not work when wrapped in `<platform>` tags. Instead, use the `platform` attribute, i.e. \r\n\r\n```\r\n<edit-config platform=\"ios\" target=\"NSCameraUsageDescription\" file=\"*-Info.plist\" mode=\"merge\">\r\n  <string>Used to attach photos to quotes and orders</string>\r\n</edit-config>\r\n```"}}
{"actor":{"display_login":"LayZeeDK"}}