Post

Replies

Boosts

Views

Activity

Creating shortcuts on watch?
A newbie question. I want to make it easy for users to create a shortcut to use Siri with a watchKit app. The app runs as a companion to an iOS version. Where I've gotten so far: Users can successfully use Siri to make a voice request for each of the watchKit and iOS apps via intent extensions that I’ve created. That is, they can do so after a shortcut is available (e.g. “Hey Siri, jot myself”). I would love to programmatically help users create both of these shortcuts. I’m stuck on the watchKit side, though. I'm using SwiftUI. The easiest I've been able to make it for users to create shortcuts is: On the iOS app, as part of the app's onboarding, provide an “Add to Siri” button. (This works fine) Then, ask the user to go into Shortcuts in iOS, find the shortcut, look at its “Details” and toggle “Show on Apple Watch”. (This seems like it would be hard for users and I’m afraid asking them to do it will lose them.) Is there a better way to help users set up the watchKit shortcut? Advice appreciated.
0
0
419
Nov ’22
How can submit an app to App Review that has two versions: one for iOS and another independent watch appt?
Both apps use the same bundle id (with the watchKit version also having the additional extensions). I am unclear on which option to use (or whether there's yet another option...): Just submit the iOS build and the watchKit version will be included automatically Add both builds (iOS and independent watchKit) to the same submission Make two separate submissions Thanks.
0
0
376
Mar ’23
How to debug SignInWithAppleButton?
I am trying to authenticate users and get their name and email by using the SignInWithAppleButton with SwiftUI. I am working from this youtube guide (https://www.youtube.com/watch?v=Behzb624Wqs), which is similar to other examples I found web browsing. Please let me know if it would be helpful to post my code. However, when I tap the button and "share my email" and tap "Continue", I then receive a "Sign Up Not Completed" notification in the UI. After a pause, the UI returns to let me "Continue" again and I can repeat the problem. If I close the sign in sheet, I receive this error message in the console: 2022-11-30 12:48:52.576788+0000 SIWATest[12785:2650974] [siwa] Authorization failed: Error Domain=AKAuthenticationError Code=-7003 "(null)" UserInfo={AKClientBundleID=[XXX bundle ID XXX]} Authorization failed: The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1001.) I have the Sign In With Apple capability enabled. How might I debug the problem? Would appreciate any tips!
3
0
865
Dec ’22