{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/deliver/issues/53","labels_url":"https://api.github.com/repos/KrauseFx/deliver/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/deliver/issues/53/comments","events_url":"https://api.github.com/repos/KrauseFx/deliver/issues/53/events","html_url":"https://github.com/KrauseFx/deliver/issues/53","id":52656188,"number":53,"title":"App icon uploading","user":{"login":"OlKir","id":5834531,"avatar_url":"https://avatars.githubusercontent.com/u/5834531?v=3","gravatar_id":"","url":"https://api.github.com/users/OlKir","html_url":"https://github.com/OlKir","followers_url":"https://api.github.com/users/OlKir/followers","following_url":"https://api.github.com/users/OlKir/following{/other_user}","gists_url":"https://api.github.com/users/OlKir/gists{/gist_id}","starred_url":"https://api.github.com/users/OlKir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlKir/subscriptions","organizations_url":"https://api.github.com/users/OlKir/orgs","repos_url":"https://api.github.com/users/OlKir/repos","events_url":"https://api.github.com/users/OlKir/events{/privacy}","received_events_url":"https://api.github.com/users/OlKir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KrauseFx/deliver/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-22T14:55:18Z","updated_at":"2015-01-11T19:23:14Z","closed_at":null,"body":"Would it be possible in future to upload app icon for itunes connect with deliver?\r\nIt looks like deliver had such functionality (lines 259-281 in itunes_connect.rb) but now it's commented out."},"comment":{"url":"https://api.github.com/repos/KrauseFx/deliver/issues/comments/69507092","html_url":"https://github.com/KrauseFx/deliver/issues/53#issuecomment-69507092","issue_url":"https://api.github.com/repos/KrauseFx/deliver/issues/53","id":69507092,"user":{"login":"soheil","id":287288,"avatar_url":"https://avatars.githubusercontent.com/u/287288?v=3","gravatar_id":"","url":"https://api.github.com/users/soheil","html_url":"https://github.com/soheil","followers_url":"https://api.github.com/users/soheil/followers","following_url":"https://api.github.com/users/soheil/following{/other_user}","gists_url":"https://api.github.com/users/soheil/gists{/gist_id}","starred_url":"https://api.github.com/users/soheil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soheil/subscriptions","organizations_url":"https://api.github.com/users/soheil/orgs","repos_url":"https://api.github.com/users/soheil/repos","events_url":"https://api.github.com/users/soheil/events{/privacy}","received_events_url":"https://api.github.com/users/soheil/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T19:23:14Z","updated_at":"2015-01-11T19:23:14Z","body":"As I suspected something wrong with freaking phantom. Anyway got it working with good old fashion Webdriver and headless Firefox. I created this python script which uses webdriver and virtual buffers, works like a charm:\r\n```\r\n\timport os\r\n\timport sys\r\n\timport time\r\n\tfrom pyvirtualdisplay import Display\r\n\tfrom selenium import webdriver\r\n\r\n\tdisplay = Display(visible=0, size=(800, 600))\r\n\tdisplay.start()\r\n\r\n\tbrowser = webdriver.Firefox()\r\n\tbrowser.get('https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa')\r\n\telement = browser.find_element_by_css_selector('#accountname')\r\n\telement.send_keys(\"EMAIL\")\r\n\telement = browser.find_element_by_css_selector('#accountpassword')\r\n\telement.click()\r\n\telement.send_keys(\"PASS\\n\")\r\n\tbrowser.get('https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/9000000001')\r\n\tbrowser.execute_script(\"$('.video-drop-zone').attr('class','appversionicon')\")\r\n\tbrowser.execute_script(\"document.querySelector('.appversionicon .simpleDropZoneFileSelect input').id='icon_file';\")\r\n\telement.send_keys('/tmp/iosArchive/icon1024x1024.png')\r\n\telement = browser.find_element_by_css_selector('button[ng-click=\"saveVersionDetails()\"]')\r\n\telement.click()\r\n\r\n\tbrowser.quit()\r\n\tdisplay.stop()\r\n```\r\n\r\nI guess now I'll use `deliver` for everything but the icon and for that I'll use the above script."}}