开发者

How to add a library from the system folders to an Xcode project?

For example, glfw for Max OS installed the library in /usr/local/lib/. Now I want to use it in an Xcode project. I can't seem to add it because Mac Finder has hidden that folder.

How do I find it to add? Ideally how do 开发者_运维百科I just paste in an arbitary path somewhere without having to drag files from Finder?


This really isn't a programming question to do with glfw. It's more to do with "how do I open hidden or system folders ...". This is answered here.

For Xcode specifically, you could right-click an appropriate group folder and click Add>Existing Frameworks... then click Add Other, then use the Cmd-Shift-G shortcut to get the "Go to this folder:" in the open panel (standard in all open/save panels). Choose your library and you're off.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜