xcode 应用程序支持中没有 iphone 模拟器文件夹
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7731518/
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
No iphone simulator folder in Application support
提问by user973637
I want to add some videos to iPhone simulator for my project. I saw similar posts and noticed that I should post videos to
我想为我的项目向 iPhone 模拟器添加一些视频。我看到了类似的帖子,并注意到我应该将视频发布到
/library/Application Support/iphone simulator/4.0/Applications/APPLICATIONGUID/Documents
/library/Application Support/iphone模拟器/4.0/Applications/APPLICATIONGUID/Documents
But I don't have an iPhone simulator folder in my Application support. I ran my application in Xcode. My iOS simulator is already open and running but still I don't see that folder.
但是我的应用程序支持中没有 iPhone 模拟器文件夹。我在 Xcode 中运行了我的应用程序。我的 iOS 模拟器已经打开并正在运行,但我仍然没有看到那个文件夹。
Is there any other way to add videos to iphone simulator?
有没有其他方法可以将视频添加到 iphone 模拟器?
回答by jbat100
You should look in your home library ~/Library/ not the root /Library/
您应该查看您的家庭图书馆 ~/Library/ 而不是根目录 /Library/
Note that in Lion this is now hidden by default, you can show it by typing
请注意,在 Lion 中,现在默认情况下是隐藏的,您可以通过键入来显示它
chflags nohidden ~/Library/
chflags nohidden ~/Library/
in the terminal
在终端
回答by dan
are you in the system root and not your home folder?
你在系统根目录而不是你的主文件夹中吗?
回答by Gajendra K Chauhan
1) Go to iPhone simulator
1) 进入 iPhone 模拟器
2) Reset it
2) 重置
3) Open trash
3) 打开垃圾箱
4) You see 4.0 / 4.2 or 5.0(me).
4) 你看到 4.0 / 4.2 或 5.0(me)。
5) Copy it to /Developer/Platforms/iPhoneSimulator.platformfolder
5) 将其复制到/Developer/Platforms/iPhoneSimulator.platform文件夹
6) Reset simulator again
6) 再次重置模拟器
7) Open trash again
7)再次打开垃圾箱
8) Right click on 5.0/put back
8) 右键单击 5.0/放回
9) That's it
9) 就是这样
Now u have fixed it....
现在你已经修好了......
I've done.working perfect for me..
我已经完成了。对我来说工作完美..
回答by GhostCode
Another easy way is this:
另一种简单的方法是:
- Open up finder
- From the finder menu bar (at the top) find the go option and select "Go to Folder"
- Put your path - /library/Application Support/iphone simulator/4.0/Applications/APPLICATIONGUID/Documents - in the go to folder option.
- The folder that you want opens up.
- You can now pull it to your favorites in the left hand side of your finder.
- 打开查找器
- 从查找器菜单栏(在顶部)找到转到选项并选择“转到文件夹”
- 将您的路径 - /library/Application Support/iphone Simulator/4.0/Applications/APPLICATIONGUID/Documents - 放在转到文件夹选项中。
- 您想要的文件夹打开。
- 您现在可以将它拉到取景器左侧的收藏夹中。