Move previous documentation sets and ios SDKs in Xcode 4.5

I have a slow internet connection and try not to download previous Xcode and SDK documentation kits.

I just installed Xcode 4.5 and see that they do not contain documentation sets for any version of iOS. There is also only an iOS 6 SDK.

I am deploying on iOS version 4.2 and later. I also had a lot of iOS SDKs for testing and all documents.

Should I copy my documents 4.2 and 4.3, 5.0, etc. in xcode 4.5?

The new installation location is different, so I’m even wondering where I will move them.

Thank you in advance

+4
source share
1 answer

My old developer folder was in the root folder of HD. I do not know if this is typical. Documents were located here: HD / Developer / Documentation / DocSets

Simulators were located here: HD / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs

Unfortunately, I could not get Xcode 4.5 to recognize any documents that I moved from my Xcode 4.2 installation. I had to let Xcode 4.5 download them.

I have successfully migrated content from my XCode 4.5 GM developer to the AppStore XCode 4.5.

.Docset files are stored here: ~ / Library / Developer / General / Documentation / DocSets

Nothing had to be done as Xcode 4.5 from the AppStore found out that I downloaded using my Xcode 4.5 GM. This is good news because it means that future versions of Xcode will probably recognize them as well.

Simulator files are stored inside Xcode.app itself: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

I just copied these folders from Xcode 4.5 GM in the Xcode 4.5 App Store to the following folder:

  • iPhoneSimulator4.3.sdk
  • iPhoneSimulator5.0.sdk
  • iPhoneSimulator5.1.sdk

I understand that the minimum supported deployment target with Xcode 4.5 or later is iOS 4.3, so I did not move any other simulator SDKs.

Of course, you need to right-click (or right-click) the Xcode application and select "Show Package Contents" before you can go to the "Content / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs /" folder.

I do not know what this means when a new Xcode is released, and the App Store installs the update. Will he destroy these SDKs that I moved? I already made a backup of my modified Xcode 4.5 if they are lost when updating Xcode through the App Store.

Hope this will be helpful.

+2
source

Source: https://habr.com/ru/post/1434688/


All Articles