[ 
https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411375#comment-13411375
 ] 

Olivier Louvignes commented on CB-989:
--------------------------------------

That's it, 5.1 SDK to 5.0.1 device, it only crashes when I use an archived 
binary (not running through XCode).

Currently this is what I use in my AppDelegate (only the const) :

//extern NSString * const NSURLIsExcludedFromBackupKey 
__attribute__((weak_import));
//#ifndef __IPHONE_5_1
NSString * const NSURLIsExcludedFromBackupKey = @"NSURLIsExcludedFromBackupKey";
//#endif

And it do work well, just not sure of the implication of it.

the extern way does not help, & the preprocessor macro does not match my device.
                
> dyld: Symbol not found: _NSURLIsExcludedFromBackupKey
> -----------------------------------------------------
>
>                 Key: CB-989
>                 URL: https://issues.apache.org/jira/browse/CB-989
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.9.0
>         Environment: iOS 4.2.1, iOS 4.3, iOS 5
>            Reporter: Avidan Chen
>            Assignee: Shazron Abdullah
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> Just upgraded to Cordova 1.9. When trying to run my app on iOS 4.3 & iOS 5, 
> the application hangs with the following error:
> dyld: Symbol not found: _NSURLIsExcludedFromBackupKey
> It happens both on the simulator and an actual device running iOS 4.2.1.
> In iOS 5.1, it's working fine - both on a simulator and on an actual device.
> I suppose it's related to: https://issues.apache.org/jira/browse/CB-471

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to