Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I debug my app on iOS 7 from Xcode 7?

Can I debug my app on iOS 7 from Xcode 7?

From what I can tell Xcode 7 just ignores any plugged in devices with iOS 7 installed. Is this just a fluke or is this a permanent change to Xcode?

(Using: Xcode 7 beta 6, iPhone 4S iOS 7.1)

like image 249
Awesome-o Avatar asked Sep 02 '15 21:09

Awesome-o


People also ask

Does Xcode have a debugger?

The Xcode debugger provides several methods to step through your code and inspect variables. You can precisely control execution of your code from a breakpoint, stepping into and out of called functions as necessary to determine where your bug occurs.

Can I run iOS apps in Xcode?

Xcode supports debugging, testing, and profiling your iOS app natively on a Mac with Apple silicon. When you open your iOS project in Xcode 12 or later, you have the option to build your app and run it directly in macOS. This option doesn't run your app in a Simulator; it runs it as an iOS App on Mac.


1 Answers

The BAD news is that you can't test your app on iOS 7 simulators. At least not with Xcode 7.3.1. If you are using previous Xcode beta then you should check this answer.

The GOOD news is that you can test it on real device running iOS 7. I tested mine with Xcode 7.3.1 on iPhone 4 running iOS 7.1.2.

UPDATE: The only way I have found so far to test your app on iOS 7 simulators is by installing OS X 10.10 Yosemite and using Xcode 6 (tested with OS X 10.10.5 and Xcode 6.4) side by side with Xcode 7.

UPDATE: Xcode version updated to 7.3.1.

like image 95
tonymontana Avatar answered Oct 05 '22 09:10

tonymontana