You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Olivier Louvignes (JIRA)" <ji...@apache.org> on 2012/09/10 19:06:07 UTC

[jira] [Created] (CB-1407) CordovaLib 2.1.0rc2 won't build on my iPhone4

Olivier Louvignes created CB-1407:
-------------------------------------

             Summary: CordovaLib 2.1.0rc2 won't build on my iPhone4
                 Key: CB-1407
                 URL: https://issues.apache.org/jira/browse/CB-1407
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.1.0
            Reporter: Olivier Louvignes
            Assignee: Shazron Abdullah
            Priority: Minor


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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1407) CordovaLib 2.1.0rc2 won't build on my iPhone4

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452153#comment-13452153 ] 

Shazron Abdullah commented on CB-1407:
--------------------------------------

Default project not being ARC was planned - so when the release goes out we don't break every single plugin - we give plugin devs the heads up first: http://shazronatadobe.wordpress.com/2012/09/05/automatic-reference-counting-arc-and-cordova-plugins/

With a subsequent release, we will consider making it the default.
                
> CordovaLib 2.1.0rc2 won't build on my iPhone4
> ---------------------------------------------
>
>                 Key: CB-1407
>                 URL: https://issues.apache.org/jira/browse/CB-1407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5 (iOS 6)
>            Reporter: Olivier Louvignes
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: xcode
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1407) CordovaLib 2.1.0rc2 won't build on my iPhone4

Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Louvignes updated CB-1407:
----------------------------------

    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

and I end up with a clang error :

clang: error: no such file or directory: '/Users/olivier/Library/Developer/Xcode/DerivedData/FacebookConnect-ejknmrdecbvdpfhcettlbcznmdbi/Build/Products/Debug-iphoneos/libCordova.a'

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

  was:
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!

    
> CordovaLib 2.1.0rc2 won't build on my iPhone4
> ---------------------------------------------
>
>                 Key: CB-1407
>                 URL: https://issues.apache.org/jira/browse/CB-1407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Olivier Louvignes
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: xcode
>
> 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
> and I end up with a clang error :
> clang: error: no such file or directory: '/Users/olivier/Library/Developer/Xcode/DerivedData/FacebookConnect-ejknmrdecbvdpfhcettlbcznmdbi/Build/Products/Debug-iphoneos/libCordova.a'
> Moreover, the bin/create script does not create an ARC project & I think it should be made the default!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1407) CordovaLib 2.1.0rc2 won't build on my iPhone4

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-1407:
---------------------------------

    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!

  was:
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

and I end up with a clang error :

clang: error: no such file or directory: '/Users/olivier/Library/Developer/Xcode/DerivedData/FacebookConnect-ejknmrdecbvdpfhcettlbcznmdbi/Build/Products/Debug-iphoneos/libCordova.a'

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

    Environment: Xcode 4.5 (iOS 6)

This is a known issue. Apple has decided not to support armv6 architecture starting with Xcode 4.5 (iOS 6).

The fix is to remove the armv6 architecture from your project as well as CordovaLib. See CB-1360
                
> CordovaLib 2.1.0rc2 won't build on my iPhone4
> ---------------------------------------------
>
>                 Key: CB-1407
>                 URL: https://issues.apache.org/jira/browse/CB-1407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5 (iOS 6)
>            Reporter: Olivier Louvignes
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: xcode
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1407) CordovaLib 2.1.0rc2 won't build on my iPhone4

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-1407.
----------------------------------

    Resolution: Duplicate

Dupe of CB-1360
                
> CordovaLib 2.1.0rc2 won't build on my iPhone4
> ---------------------------------------------
>
>                 Key: CB-1407
>                 URL: https://issues.apache.org/jira/browse/CB-1407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5 (iOS 6)
>            Reporter: Olivier Louvignes
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: xcode
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1407) CordovaLib 2.1.0rc2 won't build on my iPhone4

Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452426#comment-13452426 ] 

Olivier Louvignes commented on CB-1407:
---------------------------------------

Thank you Shazron, sorry for missing the duplicate.
                
> CordovaLib 2.1.0rc2 won't build on my iPhone4
> ---------------------------------------------
>
>                 Key: CB-1407
>                 URL: https://issues.apache.org/jira/browse/CB-1407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5 (iOS 6)
>            Reporter: Olivier Louvignes
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: xcode
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira