You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Avidan Chen (JIRA)" <ji...@apache.org> on 2012/07/01 17:41:48 UTC
[jira] [Created] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Avidan Chen created CB-989:
------------------------------
Summary: 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
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
Re: [jira] [Comment Edited] (CB-989) dyld: Symbol not found: _NSURLIsExcludedFromBackupKey
Posted by Andrew Grieve <ag...@google.com>.
Olivier, that's the same thing I was seeing. It did *not* crash when my
project was changed to build CordovaLib from source. To get it to crash, I
built the installer via "make" and then installed via the generated
dmg/pkg, and then any template-based project I tried would crash.
On Fri, Jul 6, 2012 at 7:08 AM, Olivier Louvignes (JIRA) <ji...@apache.org>wrote:
>
> [
> https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407891#comment-13407891]
>
> Olivier Louvignes edited comment on CB-989 at 7/6/12 11:07 AM:
> ---------------------------------------------------------------
>
> I was not able to reproduce the bug on XCode 4.3.2 & 5.1sdk/4.3simulator
> compiling from source. Is this normal?
> (I'm using a template cordova project converted to build CordovaLib to
> test this, should I need some specific javascript code to make it crash?
> Like LocalStorage.setItem()...?)
>
> was (Author: mgcrea):
> I was not able to reproduce the bug on XCode 4.3.2 &
> 5.1sdk/4.3simulator compiling from source. Is this normal?
>
> > 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
>
>
>
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409117#comment-13409117 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
There seems to be a more elegant/correct fix there : https://gist.github.com/1999985
Only had the bug when using devices < 5.1 in release mode.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404771#comment-13404771 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Thanks - this seems to be the exact problem with fix: http://stackoverflow.com/questions/9620651/use-nsurlisexcludedfrombackupkey-without-crashing-on-ios-5-0
> 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
>
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409720#comment-13409720 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
@Olivier that will work if you compile using iOS 5.1 SDK with older targets. I mentioned in one of my previous comments this will not work if you compile with the iOS 5.01 SDK (Snow Leopard Xcode 4.2).
I have a Snow Leopard system set up and will be testing, will let all of you know the results. Most likely it will be an iOS only tag for this fix.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Quinn C. Hoyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408246#comment-13408246 ]
Quinn C. Hoyer commented on CB-989:
-----------------------------------
Just want to verify that Cordova 1.9.0 is completely broken for all iOS versions except 5.1???
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411303#comment-13411303 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
That's what I use so far. Shazron what would be the impact of using such a fix? Would it be similar to pre-1.9 setup? Could it affect 5.1 localStorage backup in some way?
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411151#comment-13411151 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
After pulling your latest commit, I still got the error on an iPad1 5.0.1 device (only with & release archive -> export ad hoc -> drag & drop on 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407891#comment-13407891 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
I was not able to reproduce the bug on XCode 4.3.2 & 5.1sdk/4.3simulator compiling from source. Is this normal?
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Quinn C. Hoyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434415#comment-13434415 ]
Quinn C. Hoyer commented on CB-989:
-----------------------------------
You should add this to your Upgrade Guide for iOS.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411285#comment-13411285 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
Same error with :
//extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import));
#ifndef __IPHONE_5_1
NSString * const NSURLIsExcludedFromBackupKey = @"NSURLIsExcludedFromBackupKey";
#endif
in my AppDelegate.m
Looks like __IPHONE_5_1 is defined on this device...! Anything else I could try?
-- Crash :
Incident Identifier: BE27EBC6-BEF6-4BA5-A911-1006E4EE50F4
CrashReporter Key: 27779d947ecf4392cc7e1c208f8c6f871a377abf
Hardware Model: iPad1,1
Process: Beelink [1265]
Path: /var/mobile/Applications/36BCD3D2-3542-4082-991C-820B83628D3E/Beelink.app/Beelink
Identifier: Beelink
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-07-11 08:54:12.914 +0200
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Symbol not found: _NSURLIsExcludedFromBackupKey
Referenced from: /var/mobile/Applications/36BCD3D2-3542-4082-991C-820B83628D3E/Beelink.app/Beelink
Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /var/mobile/Applications/36BCD3D2-3542-4082-991C-820B83628D3E/Beelink.app/Beelink
Dyld Version: 199.5
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404772#comment-13404772 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Fix:
{code}
if (&NSURLIsExcludedFromBackupKey) {
// The const is available
}
{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
>
> 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
[jira] [Comment Edited] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407891#comment-13407891 ]
Olivier Louvignes edited comment on CB-989 at 7/6/12 11:07 AM:
---------------------------------------------------------------
I was not able to reproduce the bug on XCode 4.3.2 & 5.1sdk/4.3simulator compiling from source. Is this normal?
(I'm using a template cordova project converted to build CordovaLib to test this, should I need some specific javascript code to make it crash? Like LocalStorage.setItem()...?)
was (Author: mgcrea):
I was not able to reproduce the bug on XCode 4.3.2 & 5.1sdk/4.3simulator compiling from source. Is this normal?
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-989.
---------------------------------
Resolution: Fixed
Going to leave the fix as is, since it contains the extern already. The #ifndef macro is left in, for people linking under Xcode 4.2 Snow Leopard (iOS 5.0).
You will need to still weak link the CoreFoundation framework. EITHER:
1. Modify it in the Xcode 4 UI: http://stackoverflow.com/questions/6480765/how-do-i-weak-link-frameworks-on-xcode-4
OR
2. Add to your project Target's "Other Linker Flags" --> -weak_framework CoreFoundation
> 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
[jira] [Reopened] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah reopened CB-989:
---------------------------------
Re-opening.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411153#comment-13411153 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
Tried this uncommented in my AppDelegate (aside your existing patch in CDVFile to make sure) :
//extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import));
//#ifndef __IPHONE_5_1
NSString * const NSURLIsExcludedFromBackupKey = @"NSURLIsExcludedFromBackupKey";
//#endif
and it crashed until i commented out your patch.
> 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
[jira] [Resolved] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-989.
---------------------------------
Resolution: Fixed
Fix commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/a12f6c9c
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411242#comment-13411242 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
I don't have an iOS 5.01 device. I can only test on a Simulator 5.0 and it didn't crash when I ran the unit tests and called setMetadata on it. Try taking out the extern line only and re-test if you can.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406811#comment-13406811 ]
Andrew Grieve commented on CB-989:
----------------------------------
Thought it worth mentioning that I can repro this error using XCode 4.3.2 and the 5.1 sdk by using the 4.3 simulator.
Steps:
-Run bin/create to create example project
-Run it in 4.3 simulator (builds fine, but has the error on start-up).
If I change the project by removing Cordova.framework, add in CordovaLib as a sub-project and link against its static library target, then I cannot reproduce the error. So, it seems that it has something to do with using the lipo'ed cordova lib instead of using the static library directly.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411773#comment-13411773 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Added documentation issue CB-1030
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435460#comment-13435460 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Thanks! Filed CB-1248
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411309#comment-13411309 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
@Saurabh that's my solution as well. as you can see Olivier is having problems with it.
@Olivier Just to be clear - you are compiling on iOS 5.1 SDK but deploying to a iOS 5.0.1 device?
Try just defining the const without the #preprocessor macro conditional..
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406157#comment-13406157 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Drat. I can't definitely fix this until I get back from vacation next week and install a Snow Leopard system with iOS 5.0 SDK. Try @paul afrod's workaround for now - which is not ideal since it may break (unlikely, but who knows) in a future iOS version.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Frank (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405112#comment-13405112 ]
Frank commented on CB-989:
--------------------------
Looking forward to get this commit; I got Xcode 4.2 (Snow Leopard) cant afford Lion, so not 5.1 for me :/ and this "NSURLIsExcludedFromBackupKey" is only present in iOS 5.1
> 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
>
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409973#comment-13409973 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Well, bad news on SL. Adding that extern fixes compile time error, but at link time it still errors:
Undefined symbols for architecture i386:
"_NSURLIsExcludedFromBackupKey", referenced from:
-[CDVFile setMetadata:withDict:] in libCordova.a(CDVFile.o)
ld: symbol(s) not found for architecture i386
We'll need to do a pre-processor macro to include the definition if it's not on iOS 5.1 or greater.
> 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
[jira] [Comment Edited] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411375#comment-13411375 ]
Olivier Louvignes edited comment on CB-989 at 7/11/12 10:17 AM:
----------------------------------------------------------------
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.
could not it be possible to handle this at runtime ? (Check if the constant exists before using it?)
was (Author: mgcrea):
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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Saurabh Kr Singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411301#comment-13411301 ]
Saurabh Kr Singh commented on CB-989:
-------------------------------------
Seems that workaround mentioned here http://stackoverflow.com/questions/11328375/crashing-of-phonegap-1-9-0-application-due-to-nsurlisexcludedfrombackupkey-erro will work
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405301#comment-13405301 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
I'm afraid I can't test my fix as all my machines have 5.1 SDK on them. I can *run* on 4.x devices and simulators of course. Will have to let you guys test it out. Based on the fix I proposed.
> 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
>
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411381#comment-13411381 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
Some more info on this thread : https://github.com/ShareKit/ShareKit/pull/394
There is something about setting optional the CoreFoundation framework that I'll try.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405306#comment-13405306 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Actually that will still fail because it checks all constants during runtime - the correct fix is to add:
{code}
extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import));
{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
>
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404926#comment-13404926 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
Not sure. A chunk of the team is away this whole week, and 2.0 is slated for release July 20 for PhoneGap Day, so it looks like a 2.0 release. The commit will be in probably tomorrow though.
> 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
>
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "paul apfrod (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405939#comment-13405939 ]
paul apfrod commented on CB-989:
--------------------------------
the fix didn't work for me. I stopped getting the error by changing:
ok = [url setResourceValue: [NSNumber numberWithBool: [iCloudBackupExtendedAttributeValue boolValue]] forKey: NSURLIsExcludedFromBackupKey error:&error];
to:
ok = [url setResourceValue: [NSNumber numberWithBool: [iCloudBackupExtendedAttributeValue boolValue]] forKey: @"NSURLIsExcludedFromBackupKey" error:&error];
but I don't know how to verify if the attribute is now set correctly.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411391#comment-13411391 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
Ok I can confirm that adding the CoreFoundation and making it optional fixes my issue. So i'll go for that instead of forcing the const to a static value.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411765#comment-13411765 ]
Shazron Abdullah commented on CB-989:
-------------------------------------
@Olivier thanks for testing. No, it can't be handled at runtime unfortunately.
The correct fix (with archived builds as well) as the ShareKit guys mentioned is:
1. Add the extern
2. Weak-link CoreFoundation in your app
This will be what I will change it to, and test.
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Frank (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408256#comment-13408256 ]
Frank commented on CB-989:
--------------------------
@Quinn You're correct. User PetyrVeliki at google groups offered a solution (https://groups.google.com/forum/?fromgroups#!topic/phonegap/1KePUPYywEk) it worked for me even thou I don't know if it is the right fix as Shazron mentioned. Still waiting for 1.9.1 or 2.0
> 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
[jira] [Resolved] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-989.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Fix commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/5cf71629
Workaround if you are compiling from source: add the line from the commit in the same location
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407879#comment-13407879 ]
Olivier Louvignes commented on CB-989:
--------------------------------------
Have anyone found the correct patch for this? Does Paul method works? A 1.9.1 (even private) would really be appreciated as all my cordova project relies on the framework binaries...
> 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
[jira] [Reopened] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah reopened CB-989:
---------------------------------
> 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
[jira] [Commented] (CB-989) dyld: Symbol not found:
_NSURLIsExcludedFromBackupKey
Posted by "Avidan Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404787#comment-13404787 ]
Avidan Chen commented on CB-989:
--------------------------------
Thanks for commenting so fast. Where do I put the fix?
Will it get fixed in 2.0 or will you release 1.9.1?
> 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
>
> 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