You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Shazron <sh...@gmail.com> on 2015/02/12 19:03:31 UTC

[iOS] ios-sim next version (4.0.1)

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-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Re: [iOS] ios-sim next version (4.0.1)

Posted by Carlos Santana <cs...@gmail.com>.
oh wow I was not aware of simctl, this is very good approach to use node to
drive it, no more need for compile code.


On Thu, Feb 12, 2015 at 2:43 PM, Andrew Grieve <ag...@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 <sh...@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 <sh...@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-unsubscribe@cordova.apache.org
> > For additional commands, e-mail: dev-help@cordova.apache.org
> >
> >
>



-- 
Carlos Santana
<cs...@gmail.com>

Re: [iOS] ios-sim next version (4.0.1)

Posted by Shazron <sh...@gmail.com>.
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 <ag...@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 <sh...@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 <sh...@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-unsubscribe@cordova.apache.org
>> For additional commands, e-mail: dev-help@cordova.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Re: [iOS] ios-sim next version (4.0.1)

Posted by Andrew Grieve <ag...@chromium.org>.
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 <sh...@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 <sh...@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-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

Re: [iOS] ios-sim next version (4.0.1)

Posted by Shazron <sh...@gmail.com>.
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 <sh...@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-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org