Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I copy an old version of the iOS SDK to a new version of Xcode?

Tags:

xcode

ios

I have a new version of Xcode. I have an iOS device with a new version of iOS installed on it.

I want to build my app with the old iOS SDK, using the new version of Xcode.

How?

like image 546
Aaron Brager Avatar asked Nov 30 '22 03:11

Aaron Brager


2 Answers

You don't; the contents of the Xcode.app bundle should not be modified.

Any particular release of Xcode includes the SDKs against which it was qualified, and using any other SDK with it is unsupported.

like image 92
Chris Hanson Avatar answered Dec 06 '22 01:12

Chris Hanson


I was also running the same problem when I updated to xcode 5 it removed older sdk. But I taken the copy of older SDK from another computer and the same you can download from following link.

http://www.4shared.com/zip/NlPgsxz6/iPhoneOS61sdk.html
(www.4shared.com test account [email protected]/test)

There are 2 ways to work with.

1) Unzip and paste this folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs & restart the xcode.

But this might again removed by Xcode if you update xcode.

2) Another way is Unzip and paste where you want and go to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and create a symbolic link here, so that the SDK will remain same even if you update the Xcode.

Another change I made, Build Setting > Architectures > standard (not 64) so list all the versions of Deployment Target

No need to download the zip if you only wanted to change the deployment target.

Here are some screenshots. enter image description hereenter image description here

like image 45
AvtarSingh Suchariya Avatar answered Dec 06 '22 00:12

AvtarSingh Suchariya