How can I add older version of iOS SDK in Xcode 4.5

前端 未结 8 1243
一整个雨季
一整个雨季 2020-12-02 05:05

I copied the iOS 5.1 SDK here:

Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

But, I stil

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 05:43

    None of the above worked on my 10.8 xcode 4.5.1. Most of the paths given above are not found.

    Here is my solution note.

    1. Download xcode_4.4.1_6938145.dmg in https://developer.apple.com/downloads/
    2. Load up the dmg file then go to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ you will find iPhoneOS5.1.sdk (this is what i want in this case).
    3. Copy iPhoneOS5.1.sdk folder into your Xcode folder /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    4. Restart Xcode
    5. Open Xcode project setting->build settings->base SDK, then you will see iOS 5.1 option.

提交回复
热议问题