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

CordovaLib 2.1.0rc2 won't build on my iPhone4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.1.0
    • None
    • cordova-ios
    • Xcode 4.5 (iOS 6)

    Description

      I've started to migrate all my code & plugins to 2.1.0 with ARC. Everything works great on the simulator but when I try on my iPhone4 device i get :

      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVCamera.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/NSDictionary+Extensions.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVContacts.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVDebugConsole.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVFile.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVInvokedUrlCommand.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVLocation.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVNotification.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/NSData+Base64.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVReachability.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVSound.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVAccelerometer.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVContact.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVPluginResult.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVFileTransfer.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVConnection.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVMotion.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVCapture.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVPlugin.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVSplashScreen.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/NSMutableArray+QueueAdditions.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVBattery.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVWhitelist.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVURLProtocol.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/JSON/JSONKit.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVViewController.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVCordovaView.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVLocalStorage.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/UIDevice+Extensions.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVLogger.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/NSArray+Comparisons.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVDevice.m' of type sourcecode.c.objc for architecture armv6
      warning: no rule to process file '$(PROJECT_DIR)/Classes/CDVEcho.m' of type sourcecode.c.objc for architecture armv6

      Moreover, the bin/create script does not create an ARC project & I think it should be made the default!

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              mgcrea Olivier Louvignes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: