Xcode 4.3.2 显示隐藏文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10687449/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 4.3.2 show hidden files
提问by Darren Mackiewicz
I am using Xcode 4.3.2 and I am trying to add some SDK references to my project. I can SEE the files using Finder, as I used the terminal script to view hidden files. Yet, when I go to my user home directory in Xcode finder, it does not show the "hidden" 'Library' folder under my user profile that stores my SDK files.
我正在使用 Xcode 4.3.2 并且我正在尝试向我的项目添加一些 SDK 引用。我可以使用 Finder 查看文件,因为我使用终端脚本查看隐藏文件。然而,当我在 Xcode finder 中转到我的用户主目录时,它不会在我的用户配置文件下显示“隐藏的”“库”文件夹,该文件夹存储我的 SDK 文件。
Scratching head
抓头
回答by NSOiO
Press and hold the ?+ shiftand .keys at the same time.
同时按住?+shift和.键。
Then you can switch to view hidden/non-hidden files.
然后您可以切换到查看隐藏/非隐藏文件。
回答by Complex
Answering you 9 months later from OS X 10.8 Mountain Lion...
9 个月后从 OS X 10.8 Mountain Lion 回复您...
Press ?ShiftGfrom within Xcode's Open dialog -- this is the Go To Folder command from Finder. This works in XCode's Open dialog as well. You could go to 'Library' or, as I did below, go to the otherwise hidden .config directory by typing '.config'
?ShiftG在 Xcode 的“打开”对话框中按下——这是 Finder 中的“转到文件夹”命令。这也适用于 XCode 的打开对话框。您可以转到“库”,或者像我在下面所做的那样,通过键入“.config”转到其他隐藏的 .config 目录
This screenshotshows both the process & the result of opening the .config folder. Note that I've already 'gone' to the .config folder once, which is why it's displayed on the left, above Applications.
此屏幕截图显示了打开 .config 文件夹的过程和结果。请注意,我已经“转到”了 .config 文件夹一次,这就是它显示在左侧应用程序上方的原因。
回答by Siba Prasad Hota
Which command are you Using ? Use Bellow Command it worked for me.
你在使用哪个命令?使用 Bellow Command 它对我有用。
If the Library folder is not visible in your folder, enter the command "chflags nohidden ~/Library/ " on Terminal(Applications->Utilities->Terminal) application
如果库文件夹在您的文件夹中不可见,请在终端(应用程序->实用程序->终端)应用程序上输入命令“chflags nohidden ~/Library/”
回答by 1owk3y
Had a similar problem (but arrived on this page looking for answers).
有一个类似的问题(但到达此页面寻找答案)。
I removed a reference to a file in XCode which I actually wanted to keep but the file still existed in finder.
我删除了对 XCode 中一个文件的引用,我实际上想保留该文件,但该文件仍然存在于 finder 中。
Even though the file is in the correct folder, Xcode won't acknowledge it until you re-add it via File > Add Files To "YourProject"
即使文件位于正确的文件夹中,Xcode 也不会确认它,直到您通过File > Add Files To "YourProject"重新添加它
The point I'm making is that the files in your code project folders vs. those actually included in the XCode project are two different things
我要说的一点是,代码项目文件夹中的文件与 XCode 项目中实际包含的文件是两种不同的东西