2

I'm new to Instruments, and I'm trying to use Instruments Automation to send location events to my Xcode Swift project, which uses MapKit, but using a SIMULATOR (c.f. real device).

I've got this working by:

  • running my project in PROFILE mode in Xcode
  • then going to instruments automation with a script that uses "setLocationWithOptions"

But neither in Xcode or Instruments do I see my normal log output (print or NSLog) I use to monitor the app? How would I see print line outputs when doing this? Or is the different approach I should be taking?

Greg
  • 34,042
  • 79
  • 253
  • 454
  • Maybe this will help you. http://stackoverflow.com/questions/5569134/how-to-see-nslog-from-console-app-when-using-instruments – naomimichiko Jun 02 '16 at 17:38
  • @Greg Just a clarification, when you choose Console from the Instruments jump bar, there's nothing in the console? – Swift Dev Journal Jun 02 '16 at 20:30
  • @naomimichiko - no actually - they had the same issue there when trying to see the output when using a simulator (c.f. real device) – Greg Jun 02 '16 at 21:38
  • @MarkSzymczyk - nothing in the console here... :( – Greg Jun 02 '16 at 21:38

1 Answers1

0

Xcode 8

If talk about simulator, you need to run your application first and then, record running application through you instrument, Zombies, for example.

What you need to choose for recording: select running application

dimpiax
  • 12,093
  • 5
  • 62
  • 45