sceneprobe

command
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command sceneprobe live-checks the iOS scene life cycle (#1117): an app built with the iOS 27 SDK must declare UIApplicationSceneManifest, or UIKit traps in UIApplicationMain before anything draws. It logs, to the console:

sceneprobe lifecycle=started|foreground|background|stopped
sceneprobe drawn n=3 size=1640x2360 centre=rgba(230,40,90,255) want=rgba(230,40,90,255) ok=true
sceneprobe url=sceneprobe://cold?x=1

The lines are:

  • lifecycle: the app's lifecycle callbacks, which the scene delegate's sceneDidBecomeActive / sceneDidEnterBackground now drive.
  • drawn: once a second while in the foreground, the centre pixel of a capture of the window, which is filled with one colour. ok=true means the window the scene delegate made is the one bellui paints.
  • url: every URL the app is opened with. A URL that launches the app comes through the scene's connection options; a URL that arrives while it runs comes through scene:openURLContexts:. Four seconds after start the probe opens sceneprobe://warm itself to exercise the second path.

The probe exits by itself after a minute, so a run left behind stops.

Package from this directory and run on a device:

bellui package -os ios --app-id com.trendvidia.sceneprobe \
    --cert "Apple Development: Benedicto Franco Jr. (D68Z8W925S)"
xcrun devicectl device install app --device <UDID> sceneprobe.app
xcrun devicectl device process launch --console --device <UDID> \
    --payload-url 'sceneprobe://cold?x=1' com.trendvidia.sceneprobe

Then send it to the background and back: launch another app (for example `devicectl device process launch --device <UDID> com.apple.Preferences`), and launch the probe again without --terminate-existing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL