re: Unknown error returned from
re: Unknown error returned from
- Subject: re: Unknown error returned from
- From: George Warner <email@hidden>
- Date: Wed, 15 Dec 2004 12:23:56 -0800
On Wed, 15 Dec 2004 10:56:03 +0530, "Sathish Kumar S." <email@hidden>
wrote:
> I am using CFURLCreateDataAndPropertiesFromResource API to load a
> data into the plist. The cfURL is passed correctly to this call. But this
> returns a error code -10 whose explanation is given as "Indicates an unknown
> error" . Anybody has got an idea as to why this error comes ? Thanks in
> advance...
I don't know the exact answer but you may be able to get additional error
information if you use the debugging version of the core foundation
libraries.
>From <http://developer.apple.com/technotes/tn2004/tn2124.html>:
" Debug Libraries
Many Mac OS X frameworks include both a production and a debug variant. The
debug variant has the suffix "_debug". For example, the Core Foundation
framework's production variant is
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio
n while its debug variant is
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio
n_debug. You can force dyld to load the debug variant of a library (if such
a variant exists) by setting the DYLD_IMAGE_SUFFIX environment variable to
"_debug"."
See:
<http://developer.apple.com/technotes/tn2004/tn2124.html#LISTDYLDSUFFIX>.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden