Re: Command Clicking to CoreAudio Headers (Was:Re: How do I get Xcode to Index a Framework in my Project?)
Re: Command Clicking to CoreAudio Headers (Was:Re: How do I get Xcode to Index a Framework in my Project?)
- Subject: Re: Command Clicking to CoreAudio Headers (Was:Re: How do I get Xcode to Index a Framework in my Project?)
- From: David Ewing <email@hidden>
- Date: Thu, 3 Mar 2005 10:18:28 -0700
Eeak! Don't make files inside a Framework localized. It's certainly a
bug that Xcode even allows you to do that (no need to file one - I just
did).
Also, the "Include in Index" checkbox shouldn't be enabled for files
inside frameworks since those files only get indexed if they're
included by other files in your project. The checkbox has no affect on
this. (That's also a bug that's known.)
So, when you command-double-click on any symbols from the CoreAudio
framework and get it to go to the right location, or are all symbols
not found? If it's only failing for particular symbols, then it would
probably best to file a bug <http://developer.apple.com/bugreporter>.
I expect that you may not be waiting for the whole project to get
indexed. It doesn't take too long (and is faster in Tiger), but I just
noticed that the CoreAudio headers are among the last files to get
indexed in the AudioThru project. You can see the status by bringing up
the Activity Viewer from the Windows menu. This actually happened to me
first try. Once I waited for indexing to complete, it all worked OK.
Dave
On Mar 3, 2005, at 3:06 AM, Rob Frohne wrote:
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
_______________________________________________
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