Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion

后端 未结 5 1229
夕颜
夕颜 2020-11-28 04:59

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 s

5条回答
  •  旧时难觅i
    2020-11-28 05:26

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

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

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

    
        source
        http://adcdownload.apple.com/ios/ios_simulator__resigned/ios_43_simulator.dmg
        identifier
        Xcode.SDK.iPhoneSimulator.4.3
        name
        iOS 4.3 Simulator
        userInfo
        
            InstalledIfAllPathsArePresent
            
                $(DEVELOPER)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
            
            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.

    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.

    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.

提交回复
热议问题