You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Graeme Mawson (JIRA)" <ji...@apache.org> on 2016/08/24 10:33:21 UTC

[jira] [Commented] (CB-11731) Error missing cordova_plugins.js for ios after clean if android platform added first

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

Graeme Mawson commented on CB-11731:
------------------------------------

I'm sorry!  I left out the vital step of 'cordova clean ios'.  I'll attach the verbose logs also.

> Error missing cordova_plugins.js for ios after clean if android platform added first
> ------------------------------------------------------------------------------------
>
>                 Key: CB-11731
>                 URL: https://issues.apache.org/jira/browse/CB-11731
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: CordovaLib
>    Affects Versions: 6.3.0
>            Reporter: Graeme Mawson
>              Labels: cannot-reproduce, triaged, wfc
>
> Cordova CLI v6.3.0, Cordova Android v5.2.1, Cordova iOS v4.2.0 on Mac OS X 10.11.6.
> Performing run/emulate/build for the iOS platform fails if you have added the Android platform first.
> For example, this works (note iOS platform added first):
> $ cordova create myapp
> $ cd my app
> $ platform add ios
> $ platform add android
> $ cordova clean ios
> $ cordova emulate ios
> But, this does not work (note Android platform added first):
> $ cordova create myapp
> $ cd my app
> $ platform add android
> $ platform add ios
> $ cordova clean ios
> $ cordova emulate ios
> Executing: cordova emulate ios
> Fatal error: Error: ENOENT: no such file or directory, open '/Users/graememawson/Cordova/myapp/platforms/ios/www/cordova_plugins.js’



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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