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

前端 未结 8 1199
一整个雨季
一整个雨季 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.

    0 讨论(0)
  • 2020-12-02 06:04

    @benvolioT answer is correct, but you need permission:

    sudo cp -r /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/
    Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
    
    0 讨论(0)
提交回复
热议问题