{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TACO/issues/164","labels_url":"https://api.github.com/repos/Microsoft/TACO/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TACO/issues/164/comments","events_url":"https://api.github.com/repos/Microsoft/TACO/issues/164/events","html_url":"https://github.com/Microsoft/TACO/issues/164","id":117842852,"number":164,"title":"remote build ios and run it device","user":{"login":"napcat","id":2787343,"avatar_url":"https://avatars.githubusercontent.com/u/2787343?v=3","gravatar_id":"","url":"https://api.github.com/users/napcat","html_url":"https://github.com/napcat","followers_url":"https://api.github.com/users/napcat/followers","following_url":"https://api.github.com/users/napcat/following{/other_user}","gists_url":"https://api.github.com/users/napcat/gists{/gist_id}","starred_url":"https://api.github.com/users/napcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napcat/subscriptions","organizations_url":"https://api.github.com/users/napcat/orgs","repos_url":"https://api.github.com/users/napcat/repos","events_url":"https://api.github.com/users/napcat/events{/privacy}","received_events_url":"https://api.github.com/users/napcat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-19T15:51:02Z","updated_at":"2015-11-23T16:55:43Z","closed_at":null,"body":"hello guys,\r\n\r\nI'm trying taco for the first time, I have some doubts...\r\n\r\n1) Is it possible to do a remotebuild and get the result and automatically send it to an ipad connected on the windows machine where the remotebuild command was invoked?\r\n\r\ntaco run ios -device\r\n\r\nbut in the end I got an error:\r\nTACO5616: Http 404: Unable to launch app\r\n\r\nand on another try I go this errort:\r\nTACO5616: Http 404: Timeout: Is the device locked?\r\n\r\nThe ipad was not locked and I have the latest itunes installed in my windows machine.\r\nThe build is created on remote/ios/debug and I installed the app manually via itunes, but it would be a killer feature if that was possible automatically.\r\n\r\n\r\n2) Another questions, is it possible to build a release build, ready to go to the app store and get it on my windows machine?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TACO/issues/comments/158994807","html_url":"https://github.com/Microsoft/TACO/issues/164#issuecomment-158994807","issue_url":"https://api.github.com/repos/Microsoft/TACO/issues/164","id":158994807,"user":{"login":"MSLaguana","id":14098340,"avatar_url":"https://avatars.githubusercontent.com/u/14098340?v=3","gravatar_id":"","url":"https://api.github.com/users/MSLaguana","html_url":"https://github.com/MSLaguana","followers_url":"https://api.github.com/users/MSLaguana/followers","following_url":"https://api.github.com/users/MSLaguana/following{/other_user}","gists_url":"https://api.github.com/users/MSLaguana/gists{/gist_id}","starred_url":"https://api.github.com/users/MSLaguana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSLaguana/subscriptions","organizations_url":"https://api.github.com/users/MSLaguana/orgs","repos_url":"https://api.github.com/users/MSLaguana/repos","events_url":"https://api.github.com/users/MSLaguana/events{/privacy}","received_events_url":"https://api.github.com/users/MSLaguana/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T16:55:43Z","updated_at":"2015-11-23T16:55:43Z","body":"We currently don't look at the `--clean` flag when doing `taco run` rather than `taco build`, but that is something that we plan to fix.\r\n\r\nI assume that between your tests you were updating the files in your plugin in the /plugins/yourplugin/ folder, is that correct? I believe that the issue here may be due to how hooks interact with the remote build process.\r\n\r\nRight now, when you do a remote build (for the first time or with `taco build --clean` which makes it act like the first time) we copy files to the remote machine, `cordova plugin add` all the plugin, then `cordova platform add ios`, then we do the actual build. After that first build we try and send incremental updates to avoid network traffic or long recompile times, and so the sequence of events is `cordova plugin add/rm` new or removed plugins and just update individual files in the plugin for those which are partially updated (If the plugin.xml file is updated, that should trigger a `cordova plugin add` of that plugin), then we `cordova prepare ios` since the project already has the platform added, and then we do the build. If you have a hook which only runs on platform add, then it won't run for incremental builds.\r\n"}}