开发的时候运行apple watch程序出错:
ailure Reason: The request was denied by service delegate (IOSSHLMainWorkspace) for reason: Busy ("Cannot launch apps while in nightstand mode").
这是因为:
将Apple Watch放在充电器上并直立放置时,它将自动进入Nightstand Mode(床头柜模式),该模式将屏幕从通常的表盘切换为占用整个屏幕的大数字时钟。
所以要将apple从充电器上拿下来再试一下。
Thread 1: Fatal error: No ObservableObject of type HealthKitManager found. A View.environmentObject(_:) for HealthKitManager may be missing as an ancestor of this view.