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

Cordova run ios does not automatically deploy to device

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cordova-cli@6.4.0, cordova-ios@4.3.0
    • cordova-ios@4.3.1
    • cordova-cli, cordova-ios
    • None
    • running cordova on macOS Sierra 10.12.1 on MacBook Pro with Cordova Cli 6.4.0 and cordova ios 4.3.0 XCode 8.1 npm 6.9.1 ios-deploy 1.9.0

    Description

      In the current project I am working when running cordova run ios command with an iphone connected to my mac via usb cable the app does not run automatically on the device that is connected. It instead throws an error 2016-11-05 22:42:28.595 ios-deploy[13652:464976] [ !! ] Can't access app path '/Users/brandonyoxtheimer/runiostest/platforms/ios/build/device/HelloCordova.app' : No such file or directory
      Error: Error code 253 for command: ios-deploy with args: -justlaunch,-no-wifi,-d,-b,/Users/brandonyoxtheimer/runiostest/platforms/ios/build/device/HelloCordova.app

      if i run cordova run ios --device it does deploy to the device. So it appears there is an issue where cordova is checking whether there is a device and building the app into the device directory under platforms/ios/build

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              byoxtheimer Brandon Yoxtheimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: