解决Xcode模拟器attaching卡死问题 .

来源:互联网 发布:tw域名注册 编辑:程序博客网 时间:2024/05/17 22:19

清除XCode缓存和生成文件

1.Command-Option-Shift-K to clean out the build folder

/Users/apple/Library/Developer/Xcode    (注:Library资源库是隐藏的文件夹)

里面有DerivedData和Snapshots两个文件夹,删除里面文件即可(命令行rm -rf *)

2.(Xcode 4.2 will show you the Derived Data folder: choose Window > Organizer and switch to the Projects tab. Click the right-arrow to the right of the Derived Data folder name.)

In the simulator, choose iOS Simulator > Reset Content and Settings.

3.Product -> Edit Scheme->Debugger 选择GDB

转载:http://blog.csdn.net/lovenjoe/article/details/7457677
原创粉丝点击