在模拟器中运行已编译好的项目. 在XCODE菜单中选择product ->attach to process 选择likely target即可. 转载于:https://www.cnblogs.com/ynwlgh/archive/2011/12/02/2272056.html