incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-989) dyld: Symbol not found: _NSURLIsExcludedFromBackupKey
Date Wed, 11 Jul 2012 01:40:35 GMT

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

Shazron Abdullah commented on CB-989:
-------------------------------------

I've successfully tested this fix below on iOS 5.0 (using SL and Xcode 4.2) and iOS 5.1 (Xcode
4.3.3). Basically it adds the definition of the constant only if is compiled on iOS < 5.1
(even though it is unused. This is to satisfy the linker)

{code}
extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import));

#ifndef __IPHONE_5_1
    NSString * const NSURLIsExcludedFromBackupKey = @"NSURLIsExcludedFromBackupKey";
#endif

{code}


                
> 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

        

Mime
View raw message