Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot capture view hierarchy #96

Open
GrahamAsher opened this issue Jan 29, 2024 · 0 comments
Open

cannot capture view hierarchy #96

GrahamAsher opened this issue Jan 29, 2024 · 0 comments

Comments

@GrahamAsher
Copy link

GrahamAsher commented Jan 29, 2024

I and one of my clients have found it impossible to use the 'capture view hierarchy' option in Xcode when running a debug version of an app using MetalAngle. The option was accessed via the menu option Debug -> View Debugging -> Capture View Hierarchy while the app was running on an iPhone. My client informs me that 'capture view hierarchy' works when using GLKit instead of MetalAngle.

After a delay of about 15 seconds the following message appeared in Xcode:

"[application name]" did not respond to the debugger's request for a view hierarchy snapshot. Please try again once the process becomes responsive. You can also investigate why the process is unresponsive by profiling it with the "Time Profiler" instrument.

A message also appears in the lldb debugger pane:

warning: Module "/Users/grahamasher/Library/Developer/Xcode/iOS DeviceSupport/iPhone12,3 17.1.2 (21B101)/Symbols/usr/lib/libobjc.A.dylib" uses triple "arm64e-apple-ios17.1.0", which is not compatible with the target triple "arm64-apple-ios9.3.0". Enabling per-module Swift scratch context.

I doubt that is relevant, but I include it in the interests of completeness.

I am using the latest release of MetalAngle: https://github.com/kakashidinho/metalangle/releases/tag/gles3-0.0.8.

The app does not crash when this problem occurs, but pauses as if a breakpoint has been hit. It runs normally if the menu command Debug -> Continue is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant