Yeah I purposely used the simctl synchronous calls in the context of it working like the old ios-sim too (since I was assuming it's for ios-sim only) but for other node code that might need this, async would be better. I'll make the change when I get to this code again.
On Thu, Feb 12, 2015 at 11:43 AM, Andrew Grieve <agri...@chromium.org> wrote: > Awesome stuff! Makes perfect sense now that there's (finally) an Xcode tool > for dealing with simulator. > > Only one nit about the actual code is that it'd be better to use > child_process.exec rather than shelljs, since there's no real need to have > the function be synchronous. > > On Thu, Feb 12, 2015 at 1:44 PM, Shazron <shaz...@gmail.com> wrote: > >> Projecting future plans for ios-deploy as well here: >> https://github.com/phonegap/ios-deploy/issues/103 >> >> >> On Thu, Feb 12, 2015 at 10:03 AM, Shazron <shaz...@gmail.com> wrote: >> > Time to give this some sunlight. Right now it's the 3.x series, which >> > relies on some custom C code. >> > >> > For 4.x [1], I implemented a wrapper [2] around the Xcode tool simctl >> > [3], using nodejs. >> > >> > I believe it's ready for testing, so if you want to test: >> > >> > npm install -g ios-sim@4.0.1 >> > >> > Please file issues at: >> > https://github.com/phonegap/ios-sim/issues >> > >> > Considering that this tool is a nodejs rewrite (entirely by me) it can >> > be donated to Cordova. It remains API compatible to ios-sim 3.x >> > (except for some technical limitations, like real-time log viewing in >> > the tool, which is worked around). >> > >> > Thanks! >> > >> > >> > [1] https://github.com/phonegap/ios-sim/tree/4.x >> > [2] https://www.npmjs.com/package/simctl >> > [3] Available since Xcode 6.0 >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org >> For additional commands, e-mail: dev-h...@cordova.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org