although running iOS 5.1 simulator is ok.
My system is OSX 10.7 Lions.
My Cordova app does not use anything remotely related to NSURLIsExcludedFromBackupKey. It is only defined in one of the header file from Foundation.framework/NSURL.h file.
My research found those two related posts but no solutions: Use NSURLIsExcludedFromBackupKey without crashing on iOS 5.0
and
http://www.openradar.me/radar?id=1597401
The output from 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 any expert shine some light on this issue?