你好,游客 登录 注册 搜索
背景:
阅读新闻

在Xcode 4.2及 Snow Leopard上安装SDK 6.0 - kmyhy的专栏

[日期:2013-03-16] 来源:  作者: [字体: ]

首先,Xcode4.5的dmg文件已mount为磁盘驱动器。打开终端窗口,键入“su-”命令,以root身份运行下列命令(或者建立一个shell脚本文件然后运行)。

 

 

echo copying iPhoneOS6.0.sdk

cp -R/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/

 

echo copying iphonesim6.0.sdk

cp -R/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

 

echo copying devicesupport for 6.0

cp -R/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0\\(10A403\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/

 

#remove old -latest- link

rm -f/Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest

 

echo setting up Latest link

cd/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

ln -s ./6.0\ \(10A403\) ./Latest





收藏 推荐 打印 | 录入:admin | 阅读:
相关新闻