iOS Development

ios – Apple Metallic Body Seize doesn’t work in Xcode 15

Spread the love

I discover it these days nearly unimaginable to seize a Metallic Body:

  1. Both the “Seize” button underneath “M” is grayed out (and fps exhibits 0), so I can’t click on it.

enter image description here

  1. Or clicking “M” says the machine can’t be linked to (noticed on Mac solely, however occurs each on M2 Mac and on Intel/AMD Mac).

enter image description here

  1. In case the “Seize” button is NOT grayed out, the replay simply spins eternally.

enter image description here

  1. Capturing a gputrace programmatically with MTLCaptureManager and writing to url works on all units, however once I need to replay the .gputrace doc in XCode it additionally doesn’t replay (spins eternally).

enter image description here

  1. There’s some error message within the console, however that seems once I simply run the mission, so unsure whether it is associated.

enter image description here

Different (possibly) related info:

  • The App itself runs fully usually with anticipated fps with the Metallic HUD reflecting that.
  • Till a few weeks in the past, my Metallic tasks by no means had issues with Metallic Debugger and Seize and I’ve not edited any Scheme setting or pList, so Seize is enabled. I’m operating MacOS 14.2.1 and iPadOS 17.2 and iOS 17.2.1 and examined all my units (2 Macs (one M2, one Intel/AMD)), 2 iPads (2018, 2022), iPhone12 in numerous mixtures and all have the identical issues.
  • My second Mac makes use of a distinct developer account, so my 2 Macs are certainly unbiased.
  • Issues noticed with XCode 15.1 and 15.2.
  • Disabling the Metallic HUD doesn’t assist.
  • Issues additionally noticed with freshly downloaded (and even the only) tasks from and essentially the most minimal Metallic mission.
  • The one factor that helps often (however after a handful of compiles the issue returns) is:
    eradicating XCode mission construct recordsdata (caches, knowledge and indices), eradicating /Developer/Xcode/DerivedData, restarting the Mac, eradicating the App from the machine, and recompiling. After that, often a Body Seize and Replay succeeds. If I skip considered one of these steps, the issue stays. And after a number of compiles the issue returns. Restarting Xcode solely by no means helps.

My query: How can I seize a body in Metallic? (Is that this a bug, has anybody else bought these issues, is there a workaround?)

Leave a Reply

Your email address will not be published. Required fields are marked *