Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

sdk

I copied the iOS 5.1 SDK here:

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

But, I still can't choose the base SDK in Xcode. Can anybody help?

like image 325
sinopec Avatar asked Sep 21 '12 03:09

sinopec


1 Answers

You need to copy the iPhoneOS5.1.sdk to the directory

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk 

and iPhoneSimulator5.1.sdk to

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk 

(You'll need to restart Xcode to be able to select the SDKs in the Base SDK build option.)

like image 148
Guru Avatar answered Sep 25 '22 12:09

Guru