Unable to Capture View Hierarchy on physical device

What I already did:

  • Mac / target restarted
  • Devices unpaired
  • Library/Developer removed
  • Xcode 12D4e (Appstore) reinstalled - latest for Catalina

How to reproduce the error:

  1. Empty iOS project (Hello World)
  2. Select a physical device (it works fine in the simulator)
  3. Product --> Run
  4. Debug --> View Debugging --> Capture View Hierarchy

Result:

Error:    Unable to Capture View Hierarchy.

Details:  Log Title: Data source expression execution failure.

Log Details: error evaluating expression “(id)[[(Class)objc_getClass("DBGTargetHub") sharedHub] performRequestWithRequestInBase64:@"…"]”: error: Expression can't be run, because there is no JIT compiled function

Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke

Method:   -[DBGViewDebugger _initiateInitialRequestWithDataSourceVersion:]_block_invoke

Environment: Xcode 12.4 (12D4e) debugging iPhone X (Model A1865, A1901, A1902, A1903) iOS 14.7.1 (18G82).

Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.


Has anyone this problem too?

__ Experience same problem -- Error:  Unable to Capture View Hierarchy. Details: Log Title: Data source expression execution failure. Log Details: error evaluating expression “(id)[[(Class)objc_getClass("DBGTargetHub") sharedHub] performRequestWithRequestInBase64:@"…"]”: error: Expression can't be run, because there is no JIT compiled function

Log Method: -[DBGDataSourceConnectionLibViewDebugger _executeLLDBExpression:forRequest:onPotentialThread:iteration:]_block_invoke Method:  -[DBGViewDebugger _initiateInitialRequestWithDataSourceVersion:]_block_invoke Environment: Xcode 12.4 (12D4e) debugging iPad (6th generation) (Model A1893) iOS 14.7.1 (18G82). Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

May be your iPhone system version higher than Xcode supported. Try another iPhone which lower version.

Unable to Capture View Hierarchy on physical device
 
 
Q