[jira] [Commented] (CB-4333) Modify cordova CLI to have ios-sim as a npm module dependency
[ 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
[jira] [Commented] (CB-4333) Modify cordova CLI to have ios-sim as a npm module dependency
[ https://issues.apache.org/jira/browse/CB-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714988#comment-13714988 ] Shazron Abdullah commented on CB-4333: -- One workaround I thought of is, when someone does `cordova platform add ios` we could ask them to install (confirmation) or we just install ios-sim if it doesn't exist > 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
[jira] [Commented] (CB-4333) Modify cordova CLI to have ios-sim as a npm module dependency
[ https://issues.apache.org/jira/browse/CB-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714952#comment-13714952 ] Shazron Abdullah commented on CB-4333: -- d'oh - I am an npm n00b, I don't suppose there is a way to say it requires OS X / Xcode is there? > 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
[jira] [Commented] (CB-4333) Modify cordova CLI to have ios-sim as a npm module dependency
[ https://issues.apache.org/jira/browse/CB-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714815#comment-13714815 ] Filip Maj commented on CB-4333: --- Doesn't this require iOS, though? What would the experience for a Windows user installing cordova-cli be like? > 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