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

前端 未结 8 1226
一整个雨季
一整个雨季 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 06:04

    From the terminal, run this command, then restart XCode:

    cp -r /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
    

    Note, substitute 'iPhoneOS5.0.sdk' with the name of whatever SDK you're interested in copying.

提交回复
热议问题