PDA

View Full Version : XCode and non Framework Libs


sheijk
2005.06.02, 04:58 PM
Hello,

I just had some fun adding a static library (libglfw.a) from /usr/local/lib to an XCode project. Because the XCode "Add existing files/frameworks.." dialog does not show hidden and system files, I could not navigate to the directory in question. I could navigate there with the finder because I enabled the display of hidden files with TinkerTool. Without this setting I would need to navigate to /usr/local/lib using the terminal, open the finder there and then drag'n drop the lib into the XCode project - am I the only one thinking this is seriously flawed?

Does anybody know of a simpler or nicer way to add .a libs from /usr/lib etc? Just to be sure it's XCodes flaw and not mine.. ;)

greetings, sheijk

wadesworld
2005.06.02, 05:48 PM
Yes. In any standard Open dialog box, just start typing the path. When you hit the first / a dialog box will drop down allowing you to enter any path. Just enter /usr/lib and then add your lib from there.

OneSadCookie
2005.06.02, 07:59 PM
can also use command-shift-G to get the dialog (just as in the finder), but typing / is much cooler :D

sheijk
2005.06.02, 11:00 PM
Ok, that's nice. Thanks for your answers :)

Moving on. My current "favorite" annoyances are:

This cute "click-wait-hold-down" annoyance thingy with the favorites bar
ctrl-2 requires to type in "FooClass::m" to get FooClass::member instead of "m"
Hitting "esc" when a completion box is open inserting an invisible character (can't switch my mind to cmd-. ...)
No dockable windows
ctrl-p causing "preview" in this form each time I want to go up one line ;)

NCarter
2005.06.03, 08:56 AM
This cute "click-wait-hold-down" annoyance thingy with the favorites bar
Is this that stupid thing where clicking the Build menu button in the project toolbar causes the button to ghost just before you hit it, unless you time it just right? There is an easy solution: go to View->Customize Toolbar, remove the Build button with the drop down menu and replace it one or more of the separate build buttons. The separate build buttons work fine, thankfully. :)

sheijk
2005.06.04, 07:11 AM
No. I mean the favorites bar which you can activate with View/Show Favorites Bar. It's displayed below the toolbar and you can drag most things like files, your project 'root' etc there. It would be pretty neat if the drop down menues would behave reasonably.

NCarter
2005.06.04, 07:38 AM
No. I mean the favorites bar which you can activate with View/Show Favorites Bar. It's displayed below the toolbar and you can drag most things like files, your project 'root' etc there. It would be pretty neat if the drop down menues would behave reasonably.
Wow, I hadn't even noticed that before!

I see it behaves like the dock in that you can control click folders to make their menu open immediately, if that helps. [EDIT: oh no it doesn't. I see what you mean. ;) ]