在Mountain Lion上安装Simulator SDK 4.3到Xcode 4.4 [英] Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion

查看:153
本文介绍了在Mountain Lion上安装Simulator SDK 4.3到Xcode 4.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在山狮(os x 10.8)上的xcode 4.4中安装SDK 4.3,但是当我从xcode 4.1安装4.3 sdk软件包并从xcode 4.4启动模拟器时,模拟器只是告诉我ios模拟器可以找不到sdk。

I want to install SDK 4.3 in xcode 4.4 on mountain lion (os x 10.8), but when I installed the 4.3 sdk package from xcode 4.1 and launched the simulator from xcode 4.4, the simulator just told me that the ios simulator could not find the sdk.

可能需要重新安装sdk,这意味着它无法运行! xcode 4.4 GM出了什么问题?

The sdk may need to be reinstalled, which means it couldn't run! What's wrong with xcode 4.4 GM?

有没有关于如何解决这类问题的想法?

Are there any ideas about how to solve this kind of problem?

推荐答案

我已经调查过了,这是Apple的故意行为。

I've looked into it, and this is a deliberate behavior from Apple.

这是Xcode下载位置缓存的(已编辑)摘录:

Here is an (edited) extract of the cache for Xcode download locations:

〜/ Library / Caches / com.apple.dt.Xcode / Downloads / eded78df8bfabaf6560841d10cf8e53766f74f28.dvtdownloadableindex

<dict>
    <key>source</key>
    <string>http://adcdownload.apple.com/ios/ios_simulator__resigned/ios_43_simulator.dmg</string>
    <key>identifier</key>
    <string>Xcode.SDK.iPhoneSimulator.4.3</string>
    <key>name</key>
    <string>iOS 4.3 Simulator</string>
    <key>userInfo</key>
    <dict>
        <key>InstalledIfAllPathsArePresent</key>
        <array>
            <string>$(DEVELOPER)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk</string>
        </array>
        <key>ActivationPredicate</key>
        <string>$MAC_OS_X_VERSION < "10.8.0"</string>
    </dict>
</dict>

请注意显式的ActivationPredicate:$ MAC_OS_X_VERSION< 10.8.0设置,该设置不存在于其他模拟器包。

Note the explicit "ActivationPredicate: $MAC_OS_X_VERSION < 10.8.0" setting, which is not present on other simulator packages.

我试图编辑该文件,但是一旦Xcode打开,它就会被另一个版本替换。我无法管理4.3模拟器DMG的手动下载:ADG网站抛出会话过期错误。

I tried to edit the file, but it is replaced by another version as soon as Xcode opens. And I couldn't manage a manual download of the 4.3 Simulator DMG: the ADG website throws a "Session expired" error.

看起来Apple在4.3模拟器上遇到问题,并决定禁用它。这对那些必须支持这个版本的人来说很糟糕。

Looks like Apple had issues with the 4.3 simulator, and decided to disable it. Which sucks for people that have to support this version.

这篇关于在Mountain Lion上安装Simulator SDK 4.3到Xcode 4.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆