开发者

Cant launch iOS app with Instruments on device

开发者 https://www.devze.com 2023-03-13 10:43 出处:网络
App installs, Instruments launch, but drop down in instruments says select target, and the app never launches. Console says

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 r开发者_如何转开发un works and no warnings from Xcode. Profile just doesnt work. Tried cleaning the build, restarting Mac OS and the device. Still no go!


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.


I had the same problem, my solution was to initiate instruments from XCODE.

Xcode 11:

  1. Run the app on simulator

  2. Open Debug Navigation (Command + 7)

  3. Click on cpu

  4. Click on “Profile in Instruments”

Cant launch iOS app with Instruments on device

Xcode 3.2.5

  1. Launch XCODE

  2. Select Device, or Simulator

  3. Up on top Click RUN > RUN WITH PERFORMANCE TOOL > LEAKS

This allowed me to test without giving me that error. This is in XCODE 3.2.5 that I did this in .. it might be a little different if you are using 4.x

0

精彩评论

暂无评论...
验证码 换一张
取 消