fix: stub MLKit Clearcut auto-upload path (v4.15.5)
Previous stubs (v4.15.3-4) covered the writeLog path. New crash hits
a different Clearcut subsystem: the periodic auto-uploader that flushes
counters on a timer independent of pose detection, matching the "ran for
a while before crashing" symptom.
Stack:
-[MLKITx_CCTClearcutMetaLogger logCounters:] +56
-[MLKITx_CCTClearcutAutoCounters flushCountersToLoggerInternal] +88
MLKITx__prm_dispatch_sync_named_cstr +56
-[MLKITx_CCTClearcutAutoCounters flushCountersToLogger] +84
-[MLKITx_CCTClearcutMetaLogger flushCountersToLogger] +32
-[MLKITx_CCTClearcutUploader finishUploadAndCallHandlers] +260
-[MLKITx_CCTClearcutUploader flushThenUploadWithCompletionHandler:isOnForeground:] +1324
Stubs added at three levels (each independently installed):
1. -[MLKITx_CCTClearcutUploader startAutoUpload]
No-op. Prevents the timer from starting at all — the cleanest
short-circuit if it runs before the uploader has started.
2. -[MLKITx_CCTClearcutUploader
flushThenUploadWithCompletionHandler:isOnForeground:]
No-op + invoke completion handler with success — handles the
foreground-entry trigger that bypasses the timer.
3. -[MLKITx_CCTClearcutMetaLogger logCounters:]
Deepest fallback right at the crash site — drops counters silently.
All telemetry dropped; pose detection unaffected.
Version 4.15.5.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>