Beta for iOS 16

Is there already a beta for iOS 16? I saw some tweets from Simon which show scriptable widgets on the Lock Screen.

Simon is the developer and it is WWDC week… I imagine he is simply sharing some of his development experiment successes. Very few apps will have betas out at this early stage, but this will increase as the summer progresses and there may be a bump when from some developers when the publoc OS betas are released. After all, betas are available for developers now and most of them will be doing the same investigations, not beta testing someone else’s app.

If you saw the posts from Simon on Twitter, it might make sense to reply to him directly there about the availability of a beta… but I would suggest givibg him a few weeks before you follow up. He is one person developing several apps (outside of his day job of developing other apps as I understand it), and it really is only a few days in and Apple still have more WWDC sessions to run today.

1 Like

Thanks for your answer. I didn’t want to bother him during wwdc week and tried asking here. My thinking was that someone in the official scriptable forum may have a TestFlight link to share already.

However I am patient, I can wait.

For what it’s worth, in the past he has posted Test Flight links to Twitter and contacted individuals about beta testing directly.

Would Scriptable widgets on the Lock Screen necessarily bring Scriptable widgets on the watch? And vice versa?

I’m hearing the suggestion they would be using the same APIs.

By widgets do you mean complications? If so I have only ever seen third party complications for apps installed on the watch, and Scriptable does not currently have a watch app.

1 Like

Yes. I misspoke. I meant complications. I get the impression this is a twofer when it comes to development.

I would imagine that there’s more to Watch app development than only creating a complication.

1 Like

Any ideas how to debug? Like how to get device logs? I been using iOS 16 beta since I could on multiple devices but it wasn’t until I got my iPhone 14 Pro Max restored from IPhone XR backup I noticed Scriptable home screen widgets aren’t running? I made a super simple test, but it shows the Scriptable play button on the widget, never runs the script afaik.
Using this:

widget = new ListWidget()
widget.backgroundColor = Color.green()
Script.setWidget(widget)
Script.complete()
if (config.runsInApp) {
	widget.presentMedium()
}

Gives me this:




When you send beta feedback from TestFlight, it includes device information - just basic stuff. If you get a crash however, crash logs can also be sent by TestFlight.

These can then be viewed by Scriptable’s developer. But, it is key to include as much information as possible about how to reproduce any issue.

As end users, we can’t change, fix or code-level debug the app - that’s the developer’s domain as they are the only one with the code for debugging and fixing. The only things we as end users can debug properly is our own code in Scriptable.

I get this message a lot in Console.app connected Mac->iPhone.

[Scriptable.ScriptableWidget-5FED447E47B4] Session operation: `<private>` watchdog fired. Cancelling session.

Here’s 15 seconds of logs mentioning Scriptable, all of type error

error	15:21:39.463264-0700	SpringBoard	[0xa4090ec00-preview[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemSmall:5771095918132114981:170.00/170.00/23.00:(null)]] Detached scene idle timer fired. Invalidating scene.
error	15:21:39.463357-0700	SpringBoard	[0xa4090ec00-preview[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemSmall:5771095918132114981:170.00/170.00/23.00:(null)]] Detached scene idle timer fired. Invalidating scene.
error	15:21:39.480350-0700	SpringBoard	[0xa3e7ad000-preview[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemMedium:5771095918132114981:364.00/170.00/23.00:(null)]] Detached scene idle timer fired. Invalidating scene.
error	15:21:39.480298-0700	SpringBoard	[0xa3e7ad000-preview[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemMedium:5771095918132114981:364.00/170.00/23.00:(null)]] Detached scene idle timer fired. Invalidating scene.
error	15:21:39.488394-0700	SpringBoard	[0xa3e391200-preview[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemLarge:5771095918132114981:364.00/382.00/23.00:(null)]] Detached scene idle timer fired. Invalidating scene.
error	15:21:39.488365-0700	SpringBoard	[0xa3e391200-preview[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemLarge:5771095918132114981:364.00/382.00/23.00:(null)]] Detached scene idle timer fired. Invalidating scene.
error	15:21:48.146699-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52530 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:48.146670-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52530 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:48.148204-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52531 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:48.154603-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52532 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:48.154580-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52532 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:49.770374-0700	chronod	[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemSmall:8985799606451281255:170.00/170.00/23.00:(null)] reload: failed with error The operation couldn’t be completed. (CHSErrorDomain error 1001.))
error	15:21:49.770313-0700	chronod	[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemSmall:8985799606451281255:170.00/170.00/23.00:(null)] reload: failed with error The operation couldn’t be completed. (CHSErrorDomain error 1001.))
error	15:21:49.776360-0700	chronod	Task [551] [dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:8985799606451281255] Reload failed; 1 retries remaining: CHSErrorDomain (1050) Error Domain=CHSErrorDomain Code=1050 "(null)"
error	15:21:49.776293-0700	chronod	Task [551] [dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:8985799606451281255] Reload failed; 1 retries remaining: CHSErrorDomain (1050) Error Domain=CHSErrorDomain Code=1050 "(null)"
error	15:21:49.787270-0700	chronod	[Scriptable.ScriptableWidget-308F627A524D] Session operation: `<private>` watchdog fired. Cancelling session.
error	15:21:49.788204-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52539 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:49.787136-0700	chronod	[Scriptable.ScriptableWidget-308F627A524D] Session operation: `<private>` watchdog fired. Cancelling session.
error	15:21:49.788176-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52539 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:53.181859-0700	SpringBoard	Dismissal preview with view <UIView: 0xa41ef84d0; frame = (0 0; 170 170); hidden = YES; autoresize = W+H; layer = <CALayer: 0x2804c54a0>> and container <SBIconView: 0xa3f0d0e00; frame: {{33, 94}, {170, 184}}; icon: <SBWidgetIcon: 0x283361440; nodeID: 781FF00B-9438-44F8-ACD9-BE6CDB2718CA; gridSizeClass: small; widget: dk.simonbs.Scriptable.ScriptableWidget>; location: SBIconLocationRoot; iconLabelAlpha: 0.000000> is invalid. Its container must be in the view hierarchy, and both the container and view must not be hidden.
error	15:21:53.181886-0700	SpringBoard	Dismissal preview with view <UIView: 0xa41ef84d0; frame = (0 0; 170 170); hidden = YES; autoresize = W+H; layer = <CALayer: 0x2804c54a0>> and container <SBIconView: 0xa3f0d0e00; frame: {{33, 94}, {170, 184}}; icon: <SBWidgetIcon: 0x283361440; nodeID: 781FF00B-9438-44F8-ACD9-BE6CDB2718CA; gridSizeClass: small; widget: dk.simonbs.Scriptable.ScriptableWidget>; location: SBIconLocationRoot; iconLabelAlpha: 0.000000> is invalid. Its container must be in the view hierarchy, and both the container and view must not be hidden.
error	15:21:54.117404-0700	chronod	[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemLarge:5418228904350287460:364.00/382.00/23.00:(null)] reload: failed with error The operation couldn’t be completed. (CHSErrorDomain error 1001.))
error	15:21:54.117382-0700	chronod	[dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:systemLarge:5418228904350287460:364.00/382.00/23.00:(null)] reload: failed with error The operation couldn’t be completed. (CHSErrorDomain error 1001.))
error	15:21:54.121480-0700	chronod	[Scriptable.ScriptableWidget-5FED447E47B4] Session operation: `<private>` watchdog fired. Cancelling session.
error	15:21:54.121882-0700	chronod	Task [552] [dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:5418228904350287460] Reload failed; 0 retries remaining: CHSErrorDomain (1050) Error Domain=CHSErrorDomain Code=1050 "(null)"
error	15:21:54.121458-0700	chronod	[Scriptable.ScriptableWidget-5FED447E47B4] Session operation: `<private>` watchdog fired. Cancelling session.
error	15:21:54.121860-0700	chronod	Task [552] [dk.simonbs.Scriptable.ScriptableWidget:RunScriptWidget:5418228904350287460] Reload failed; 0 retries remaining: CHSErrorDomain (1050) Error Domain=CHSErrorDomain Code=1050 "(null)"
error	15:21:54.126847-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52570 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])
error	15:21:54.126874-0700	runningboardd	Multiple RBSRunningReasonAttribute provided: 13 vs 20254. First one wins, but client should be fixed for assertion 31-108-52570 (target:[xpcservice<dk.simonbs.Scriptable.ScriptableWidget([osservice<com.apple.chronod>:108])>:1929])

iOS 16.1 beta? There seems to be a bug preventing widgets from displaying properly.