I'm getting this errorBackgroundWorkoutSessionNotAllowed when calling session.prepare() on watchOS 10 Beta Simulator
The apple's doc doesn't have any information about this error https://developer.apple.com/documentation/healthkit/hkerror/4291533-errorbackgroundworkoutsessionnot
The code works perfectly on the device.
Post
Replies
Boosts
Views
Activity
.toolbar on watchOS app with beta 3 does not appearing on the screen.
This cove below was working in watchOS 7 beta 2 and still working on iOS 14 beta 3, but doesn't working on watchOS beta 3.
struct ContentView: View {
var body: some View {
NavigationView {
List {
ForEach(0..<16) { i in
Text("Item \(i)")
}
}
.navigationTitle("Items")
.toolbar {
Button {
print("Tapped")
} label: {
Label("Create Workout", systemImage: "plus.circle")
}
}
}
}
}
FB8105560
To preview complications using SwiftUI as mentioned during the session "Build complications in SwiftUI" (https://developer.apple.com/videos/play/wwdc2020/10048/), we need to use CLKComplicationTemplateGraphicRectangularFullView
but it isn't accessible via Xcode yet.
Anyone has the same problem?
Xcode Message:
Use of unresolved identifier 'CLKComplicationTemplateGraphicRectangularFullView' Xcode Message - https://developer.apple.com/forums/content/attachment/cb7638c0-816d-426b-9fdb-b754cbcf3f8e