Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant launch iOS app with Instruments on device

App installs, Instruments launch, but drop down in instruments says select target, and the app never launches. Console says

6/14/11 2:36:22 PM  Instruments[1951]   XRMobileDeviceException while performing application lookup on device : (null)

Device is iOS 4.3.3, regular build and run works and no warnings from Xcode. Profile just doesnt work. Tried cleaning the build, restarting Mac OS and the device. Still no go!

like image 994
Maciej Swic Avatar asked Jun 14 '11 18:06

Maciej Swic


People also ask

How do I deploy an app to an iOS device?

Install the App on User Devices For macOS, double-click the file to install and run it. To install iOS, iPadOS, tvOS, or watchOS apps using Xcode: Attach the device to the computer, or attach the paired phone for a watchOS device. Select Window > Devices and Simulators, and then select the Devices tab.

How do I run an instrument in Xcode?

Press Command-I in Xcode, select Allocations from the list and press Choose. After a moment, you'll see the Allocations instrument. It should look familiar because it looks a lot like Time Profiler. Click the record button in the top-left corner to run the app.


1 Answers

I had the same problem. I didn't solve it, but an easy workaround is to launch the app yourself and then attach to it from the Attach to Process... command in the Target menu in the Instruments window.

like image 198
Caleb Avatar answered Sep 18 '22 22:09

Caleb