gpt4 book ai didi

ios - 将 iOS 6 SDK 导入 Snow Leopard 上的 Xcode 4.2

转载 作者:技术小花猫 更新时间:2023-10-29 10:15:37 35 4
gpt4 key购买 nike

我在 Snow Lopard 上安装了 Xcode 4.2,当 iOS SDK 发布时,我按照这个主题导入了 iOS 5.1 SDK Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?

现在我需要导入 iOS 6 SDK,我想知道本教程是否仍然适用于 iOS 6 SDK。

谢谢!

最佳答案

这对我有用(在“su -”之后,所以我以 root 身份运行),并将 Xcode 4.5 .dmg 文件安装为磁盘驱动器。


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

注意:Xcode dmg 文件可从 https://developer.apple.com/downloads/index.action?name=Xcode 获得(1.56 GB)

关于ios - 将 iOS 6 SDK 导入 Snow Leopard 上的 Xcode 4.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12508357/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com