Runing new Xcode 4.3.3 Cordova app in iOS simulator 5.0 error "Symbol not found: _NSURLIsExcludedFromBackupKey" -


although running ios 5.1 simulator ok.

my system osx 10.7 lions.

my cordova app not use remotely related nsurlisexcludedfrombackupkey. defined in 1 of header file foundation.framework/nsurl.h file.

my research found 2 related posts no solutions: use nsurlisexcludedfrombackupkey without crashing on ios 5.0

and

http://www.openradar.me/radar?id=1597401

the output running ios 5.0 simulator:

 dyld: symbol not found: _nsurlisexcludedfrombackupkey referenced from: /users/wug/library/application support/iphone simulator/5.0/applications/96c31219-6305-460d-a45e-cfa94ba64efd/sample.app/sample expected in: /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator5.0.sdk/system/library/frameworks/foundation.framework/foundation in /users/wug/library/application support/iphone simulator/5.0/applications/96c31219-6305-460d-a45e-cfa94ba64efd/sample.app/sample 

running on older simulators had same error. can expert shine light on issue?

the issue filed @ https://issues.apache.org/jira/browse/cb-989

a temp fix petyrveliki @ https://groups.google.com/forum/?fromgroups#!topic/phonegap/1kepupyywek

add on top of appdelegat.m file code:

nsstring * const nsurlisexcludedfrombackupkey = @"nsurlisexcludedfrombackupkey"; 

there better 'real' fixes @ issue tracker, requires compilation of cordova core.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -