Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy simulator from different Xcode version?

Tags:

xcode

ios

I have 2 XCodes installed on my Mac say Xcode 6.1 and Xcode 5.1. I use Xcode 6.1 iOS for development. For some bugs raised in iOS 7 I am in the need of iOS 7 simulator. Do I download Xcode 7 simulator When I have my iOS 7.1 simulator with my Xcode 5.1, or Would Xcode 6.1 will work When I copy my simulator from 5.1 to 6.1 ?

If that is possible tell me how?

Tnx in advance

like image 839
Rajesh Avatar asked Nov 03 '14 08:11

Rajesh


2 Answers

For iOS version greater then 13

/Applications/OldXcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Copy the simulator sdk you want, and paste it on the same path as above in another XCode version and rename sdk according to version.

Like For example i have version 13.3 i have to copy it to new xcode with version 13.4 Following will be the final path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.3.sdk

Also copy the runtime iOS.simruntime from /Applications/OldXcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles

or

/Applications/OldXcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes

and paste it to the following path

/Users/waqasahmed/Library/Developer/CoreSimulator/Profiles

or

/Users/waqasahmed/Library/Developer/CoreSimulator/Profiles/Runtimes

and rename it according to the version like for version 13.3 it will be iOS 13.3.simruntime

like image 78
Waqas Ahmed Avatar answered Nov 03 '22 03:11

Waqas Ahmed


Open path:

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

copy the simulator sdk you want, and paste it on the same path as above in another XCode version.

like image 45
Igor Avatar answered Nov 03 '22 04:11

Igor