-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added button initializers #129
base: stable
Are you sure you want to change the base?
Conversation
Hi @StevenSorial. I see that some tests are failing. When I try to run them locally, I get "Command AppIntentsSSUTraining failed with a nonzero exit code". How can I run them on my machine to ensure everything is working correctly? |
try to rebase your branch on the latest |
b96e334
to
e3d872f
Compare
I just rebased on the latest stable branch and I’m still getting the same error. |
This is the error I'm also seeing. seems to be a familiar issue. https://forums.developer.apple.com/forums/thread/732535 |
@StevenSorial any suggestions on getting this moving? |
@Rspoon3 I'm open to merging the PR if the test build issue is solved. @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
struct OrderSoupIntent: AppIntent {
static var title = LocalizedStringResource("Order Soup")
static var description = IntentDescription("Orders a soup from your favorite restaurant.")
init() { }
func perform() async throws -> some IntentResult {
return .result()
}
} |
@StevenSorial I removed the problematic code. Seems like this is now good to merge in. |
@Rspoon3 can you please look into #63 and see if we have the same issue with these new initializers? |
@StevenSorial Great callout, I had no idea about this. I just pushed the change. |
Added multiple initializers for SwiftUI Button.