您的位置:首页 > 移动开发 > IOS开发

低版本XCode支持高版本iOS真机调试的实现

2012-12-05 10:01 375 查看
双击打开DMG文件,在出来的文件夹里面,右键点击XCode这个包,点击右键菜单里面的“显示包内容”,然后进行如下操作:

把XCode包中的 Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176) 拷贝到

本地磁盘 /Developer/Platformes/iPhoneOS.platform/DeviceSupport

把XCode包中的 Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk 拷贝到

本地磁盘 /Developer/Platformes/iPhoneOS.platform/Developer/SDKs

把XCode包中的 Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk 拷贝到

本地磁盘 /Developer/Platformes/iPhoneSimulator.platform/Developer/SDKs/

下面的操作注意先备份现有文件:

把XCode包中的 Contents/Developer/Platforms/iPhoneOS.platform/version.plist 覆盖

本地磁盘的/Developer/Platformes/iPhoneOS.platform/version.plist

把XCode包中的 Contents/Developer/Platforms/iPhoneSimulator.platform/version.plist 覆盖

本地磁盘的/Developer/Platformes/iPhoneSimulator.platform/version.plist

PS:进行这些操作之前,请先关闭XCode,完成这些操作之后重开XCode即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: