Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dual Pistolas

macrumors newbie
Original poster
Nov 10, 2008
17
0
I've been trying to debug my application using Instruments. It used to work fine for v2.1, but now with v2.2, none of my applications show up in the list within Instruments!

I've run the application on the phone from XCode, and it runs fine. So, I know for sure it's installed on the phone.

Is anyone else having problems? Is there a step i'm forgetting to do?
 

Dual Pistolas

macrumors newbie
Original poster
Nov 10, 2008
17
0
Would someone mind just giving me a quick reply to let me know if they're able to run their app in instruments with SDK v2.2?

Just so I know it's possible and I'm not wasting my time trying to troubleshoot it?

Thanks!
 

jnic

macrumors 6502a
Oct 24, 2008
567
0
Cambridge
Would someone mind just giving me a quick reply to let me know if they're able to run their app in instruments with SDK v2.2?

Just so I know it's possible and I'm not wasting my time trying to troubleshoot it?

Thanks!

Currently running Leaks on a 2.2 build in the 2.2 SDK.
 

jnic

macrumors 6502a
Oct 24, 2008
567
0
Cambridge
Wait, are you running it on the device? Or in the simulator? I can run instruments in the simulator, but not on the device.

Either; just make sure you build for whatever you want to run Instruments with first (it disables run options until it's built).
 

Dual Pistolas

macrumors newbie
Original poster
Nov 10, 2008
17
0
Either; just make sure you build for whatever you want to run Instruments with first (it disables run options until it's built).

I am positive it's built for the device. I've done it a ton of times with v2.1. I compile as Device - 2.2 | Debug (I've also tried Release), and it runs fine on the device.

Once I verify that it's on the device and runs fine:

If I choose Run->Start With Performance Tool it will open Instruments, but after that, nothing happens.

If I manually open up Instruments, then open the pulldown menu "Default Target", under Launch Executable there is nothing listed. Before, it used to list my application which is already built on the device.
 

jnic

macrumors 6502a
Oct 24, 2008
567
0
Cambridge
Very odd, it's working fine for me, app also appears in the pulldown. Not quite sure what to suggest; I'm assuming you've already gone through the usual Clean All > Close Xcode > Re-open > Build a few times.
 

Dual Pistolas

macrumors newbie
Original poster
Nov 10, 2008
17
0
Very odd, it's working fine for me, app also appears in the pulldown. Not quite sure what to suggest; I'm assuming you've already gone through the usual Clean All > Close Xcode > Re-open > Build a few times.

Yep. Including rebooting the phone, rebooting the mac..etc. I've even set all the project settings to use v2.2 of the SDK and build to 2.2.

Can you see why I thought they might have broken it? ;)
 

Dual Pistolas

macrumors newbie
Original poster
Nov 10, 2008
17
0
Yay, I fixed it!

I restored my iPhone and reinstalled from backup. Guess it was just code gremlins!

:p

Anyways, thanks for the moral support!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.