[ 
https://issues.apache.org/jira/browse/CB-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717768#comment-13717768
 ] 

Shazron Abdullah commented on CB-4333:
--------------------------------------

Anis has a good workaround: 
http://callback-dev.markmail.org/thread/3wjubcy64j76qi5c

Run a script on installation that detects the Operating System you're running 
on and install the ios-sim dependency only if it's Mac OS X.

{code}
"scripts": {
   "install": "node install_ios_sim.js"
}

inside install_ios_sim.js would be something like:

if(process.platform.match(/darwin/)
{
  // install ios-sim dependency
}
{code}
                
> Modify cordova CLI to have ios-sim as a npm module dependency
> -------------------------------------------------------------
>
>                 Key: CB-4333
>                 URL: https://issues.apache.org/jira/browse/CB-4333
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: CLI
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Filip Maj
>            Priority: Minor
>
> ios-sim is in npm now: https://npmjs.org/package/ios-sim

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to