Command Clicking to CoreAudio Headers (Was:Re: How do I get Xcode to Index a Framework in my Project?)
Command Clicking to CoreAudio Headers (Was:Re: How do I get Xcode to Index a Framework in my Project?)
- Subject: Command Clicking to CoreAudio Headers (Was:Re: How do I get Xcode to Index a Framework in my Project?)
- From: Rob Frohne <email@hidden>
- Date: Thu, 3 Mar 2005 02:06:39 -0800
Thanks for the note Bryan,
It looked very much like your astute observation would provide the cure
for my command clicking problem, but unfortunately it doesn't.
I noticed this same behavior with example projects, for example,
AudioThru. I've re-indexed the projects, and as I noted before other
headers work just fine. I can go to the CoreAudio framework and look
at the headers under that and see the places it should go when I
command click, but it doesn't go there by command clicking, and finding
them other ways isn't as easy. I have even looked at the info for the
headers under this framework and the "Include in Index" check box is
checked. When I found this box. I checked the header files under the
headers group and discovered that they were not checked. I clicked the
"Make Localizable" box and then they were checked. Now when I do this
in the AudioThru project, the command clicking works for those header
files. However, doing the same thing to my project didn't yield the
same good results.
I get console messages when I try and make the headers localizable in
my project that say:
2005-03-03 01:53:40.765 Xcode[617]
_NSCodeAndEnumerationFlagForTypeInSuite(): The type 'NSData<QDPoint>'
used in the script suite 'PBXProjectSuite' wasn't parsed successfully.
2005-03-03 01:53:40.765 Xcode[617]
_NSCodeAndEnumerationFlagForTypeInSuite(): The type 'NSData<QDPoint>'
used in the script suite 'PBXProjectSuite' wasn't parsed successfully.
2005-03-03 01:55:01.244 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioDriverPlugIn.h
2005-03-03 01:55:01.245 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioDriverPlugIn.h
2005-03-03 01:55:01.245 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/AudioDriverPlugIn.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioDriverPlugIn.h delegate:0x0 owner:(null)
group:(null) chmod:(null) preserveFinderInfo:YES
preserveResourceForks:YES
2005-03-03 01:55:01.248 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioHardware.h
2005-03-03 01:55:01.248 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioHardware.h
2005-03-03 01:55:01.249 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/AudioHardware.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioHardware.h delegate:0x0 owner:(null) group:(null)
chmod:(null) preserveFinderInfo:YES preserveResourceForks:YES
2005-03-03 01:55:01.251 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioHardwarePlugIn.h
2005-03-03 01:55:01.251 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioHardwarePlugIn.h
2005-03-03 01:55:01.252 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/AudioHardwarePlugIn.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioHardwarePlugIn.h delegate:0x0 owner:(null)
group:(null) chmod:(null) preserveFinderInfo:YES
preserveResourceForks:YES
2005-03-03 01:55:01.254 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/CoreAudio.h
2005-03-03 01:55:01.255 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/CoreAudio.h
2005-03-03 01:55:01.255 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/CoreAudio.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/CoreAudio.h delegate:0x0 owner:(null) group:(null)
chmod:(null) preserveFinderInfo:YES preserveResourceForks:YES
2005-03-03 01:55:01.257 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/CoreAudioTypes.h
2005-03-03 01:55:01.258 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/CoreAudioTypes.h
2005-03-03 01:55:01.258 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/CoreAudioTypes.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/CoreAudioTypes.h delegate:0x0 owner:(null) group:(null)
chmod:(null) preserveFinderInfo:YES preserveResourceForks:YES
2005-03-03 01:55:01.260 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/HostTime.h
2005-03-03 01:55:01.260 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/HostTime.h
2005-03-03 01:55:01.260 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/HostTime.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/HostTime.h delegate:0x0 owner:(null) group:(null)
chmod:(null) preserveFinderInfo:YES preserveResourceForks:YES
RcvUData() returns -3257
And then it gets even more confusing when I open the HalLab project and
find those headers not checked for indexing, but command clicking finds
them just fine. And when I take one of the header files and make it
localizable, I get the following messages in the console:
2005-03-03 02:02:52.542 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioDriverPlugIn.h
2005-03-03 02:02:52.543 Xcode[617] _getFSRef:forPath:isDirectory:
Failed to create FSRef from path
/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioDriverPlugIn.h
2005-03-03 02:02:52.543 Xcode[617] File Manager operation FAILED:
movePath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers/AudioDriverPlugIn.h
toPath:/System/Library/Frameworks/CoreAudio.framework/Versions/A/
Headers.lproj/AudioDriverPlugIn.h delegate:0x0 owner:(null)
group:(null) chmod:(null) preserveFinderInfo:YES
preserveResourceForks:YES
Also, it seems to me that someone asked before how you know when
re-indexing is finished, but I wasn't able to find that answer if there
was one. I'd like to know when my project is finished re-indexing, in
order to better figure this annoying problem out.
Thanks,
Rob
On Mar 2, 2005, at 2:17 PM, Bryan Pietrzak wrote:
On Mar 2, 2005, at 11:07 AM, Rob Frohne wrote:
I can't seem to get Xcode to find things in the CoreAudio Framework
which is in my project. I want to be able to command click a
function call and find the header. It seems to work with everything
else in the project, including some gnome things, but not with the
CoreAudio framework. Any hints?
My hint: try searching at Apple's developer site. I'm guessing, based
on your problem description what the problem is.
The FIRST hit for a search (using the little search box in the upper
corner of every page) on "Core Audio Xcode" yields:
http://developer.apple.com/qa/qa2004/qa1386.html
Bryan
--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla College
http://www.wwc.edu/~frohro/
_______________________________________________
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