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

'cordova build --device' for ios doesn't produce correct application

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.8.0
    • None
    • None
    • None
    • CLI OSX

    Description

      When running 'cordova build --device', it buils successfully, but the build produces the following warnings:

      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/NSDictionary+Extensions.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVInvokedUrlCommand.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/NSData+Base64.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVPluginResult.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVPlugin.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/NSMutableArray+QueueAdditions.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVWhitelist.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVURLProtocol.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVViewController.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVLocalStorage.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/UIDevice+Extensions.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/NSArray+Comparisons.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVCommandQueue.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVJSON_private.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVCommandDelegateImpl.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVConfigParser.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVJSON.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVUserAgentUtil.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVWebViewDelegate.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      warning: no rule to process file '/Users/havaluova/Work/cordova-ios/tmp/myApp/CordovaLib/Classes/CDVTimer.m' of type sourcecode.c.objc for architecture armv7 armv7s arm64
      

      If I try to deploy the produced application on devices, it fails

      AMDeviceInstallApplication failed: 0xE8000067: Unknown error.
      

      Actually the produced application doesn't have unix executable.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fatme Fatme
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: