ort11
ort11

Reputation: 3349

Can the iOS 7 Simulator work with Xcode 4.6.3?

Tried copying over the iOS 7.0 Simulator to the Xcode 4.6.3 bundle in the correct location. It does show up in the Device List, and the simulator starts, but then pinwheels.

I had to hard stop the simulator and Xcode. I'm mainly just curious, but wanted to know if this should work or can work.

Upvotes: 5

Views: 18044

Answers (5)

user3119003
user3119003

Reputation: 1

Here is another way to run the IOS 7.0 Simulator under the Xcode 4.6.3 version, after copyint it to the right location described above:

  • Start XCode 5 running a sample app within the iOS simulator
  • Change settings of the simulator to keep it in dock
  • Quit XCode 5
  • Change requested hardware in iOS simulator which is still running
  • Start XCode 4.6.3 running your app within the iOS simulator after selecting the hardware set within the simulator - they must be equal.

That´s it !

Furtheron you only need to start the simulator first, set the requested hardware, start XCode 4.6.3 with equal hardware set in the simulator and RUN.

Upvotes: 0

user169964
user169964

Reputation:

Simple!

Open the iOS7 simulator from the XCode 5 Pacakage folder

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

Keep the iOS7 Simulator open. Now Open your XCode 4.6 build your project with Simulator selected. The app will be now opened in the iOS7 Simulator.

If the app quits or not running, Try Reseting the Simulator contents or Clean the project and keep trying. It works for me.

Upvotes: 5

Simpler answer to run a Xcode 4 project on iOS7:

  1. Backup your 4.6 project. (either physical backup or commit to github or svn)
  2. Open your project in Xcode 5 DP
  3. Xcode 5 will make changes to the files, but that's OK because you made a backup
  4. Run the app with Xcode5 and iOS7
  5. When you are done, restore your project with the backup you made earlier
  6. ???
  7. Profit

Upvotes: -1

ort11
ort11

Reputation: 3349

Here is how to run the IOS 7.0 Simulator under the Xcode 4.6.3 version.

0) Make a backup point for the Mac

1) Download and install the Xcode 5 Beta X

2) Make sure that the IOS 7 simulator is working for Xcode 5 with IOS 7 Simulator

3) Stop all simulators and Xcodes

3.5) Make duplicate of the current Xcode 4 and do 4) to the duplicate app bundle

4) Copy

/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/

to

/Applications/Xcode copy.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/

5) Start the proper simulator in 7.0 mode using Xcode 5 and a sample app, etc.

6) Stop Xcode 5

7) Start Xcode 4 COPY and choose the same 7.0 simulator and run your app (Xcode 4 is not "smart" enough to start the 7.0 simulator).

8) Should show up in the 7.0 simulator

Upvotes: 9

bkbeachlabs
bkbeachlabs

Reputation: 2171

Nope. iOS7 only works with Xcode 5 DP.

Upvotes: 2

Related Questions