Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11731

Error missing cordova_plugins.js for ios after clean if android platform added first

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.3.0
    • 6.3.2
    • cordova-lib

    Description

      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’

      Attachments

        1. log_failure.txt
          27 kB
          Graeme Mawson
        2. log_success.txt
          27 kB
          Graeme Mawson

        Issue Links

          Activity

            People

              vladimir.kotikov Vladimir Kotikov
              gmawson Graeme Mawson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: