Is there a way to install iPhone Simulator 4.2 in Xcode 4.3 for Lion?
I only can find how to install it in Xcode 4.2, but not Xcode 4.3 for Lion.
Is there a way to install iPhone Simulator 4.2 in Xcode 4.3 for Lion?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have found a way to install iPhone simulator 4.2 to Xcode 4.3:
Follow the instructions by Parth Bhatt, but install the simulator in a temporary folder (‘Developer’ folder doesn’t exists in Xcode 4.3).
Once installed, go to
<tmp_dir>/Platforms/iPhoneSimulator.platform/Developer/SDKs, and you’ll find a file named “iPhoneSimulator4.2.sdk”.Open a new Finder window and go to
/Applicationsand right-button on Xcode, select show the package contents, navigate to/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs, you will see a .sdk files, one for each iPhone simulator installed in Xcode.Drag the “iPhoneSimulator4.2.sdk” file from your temporary folder and drop inside SDKs folder of Xcode package.
Restart Xcode and that’s all (you can delete the temporary folder).
If your project has a Deployment target to 4.2, you’ll have the 4.2 simulator available.