[
https://issues.apache.org/jira/browse/CB-7803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235511#comment-14235511
]
ASF GitHub Bot commented on CB-7803:
------------------------------------
Github user eymorale commented on the pull request:
https://github.com/apache/cordova-lib/pull/126#issuecomment-65794810
Hi @oliversalzburg , the way I have implemented it that should be expected.
iOS won't compile on anything other than OSX. I have included an explanation
for this in the jira item noted above:
"The other thing to consider is what happens when you try to build using
the CLI for a platform that you don't have the environment set up for.
Currently, what I have implemented is that it will just end the process with an
error on the first platform it hits that cannot be built. It will not try to
build the remaining platforms. For example, if you are on a windows machine and
you do "build ios android", it's going to error out when it try to build iOS
and just end the process there. This is to avoid running the after_build hooks
and to let the user know that they can't build for iOS. The idea there is that
the user would skip building iOS and just do "build android"."
> Add any platform on any workstation OS
> --------------------------------------
>
> Key: CB-7803
> URL: https://issues.apache.org/jira/browse/CB-7803
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CLI, CordovaLib
> Reporter: Edna Morales
> Assignee: Edna Morales
> Priority: Minor
>
> You should be able to add any platform to a project while on any desktop OS
> even if that platform can't be built on that OS.
> It is understood that you will not be able to build an iOS app while on
> Windows, nor build a WP8 app while on Linux, etc. If you attempt to build for
> a non-appropriate platform(s) on your dekstop OS, it will skip that
> non-appropriate platform(s) with a warning or an error, but not impede the
> building of the appropriate platforms, nor impede the addition of
> non-appropriate platforms (i.e., do "cordova platform add wp8" while on OS X).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]