I want to offer the user the opportunity to add more stuff to a list in AppIntents, but nothing I've tried "loops back" to the first Siri query. Checked several LLMs and they are suggest using "requestDialog" which doesn't exist, and calling recursively my AppIntent.
Is this even possible?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
We're trying to transfer an app to another account holder and have the following two problems blocking it.
in app purchases: But we don't have any in-app purchases. Not entire clear as to what problem that is supposed to cause anyway.
We are instructed to remove all Testflight builds, yet I can find no place to delete old Testflight builds and in fact, supposedly we're not supposed to be able to do that in the first place.
We get: "You must first remove all builds and testers from the app you want transferred and clear each information field below Test Information."
What gives?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Is there a way to allow ApplePay to make deferred payments to a suite of stores, or will each store need the user to initially approve a payment manually?
Topic:
App & System Services
SubTopic:
Apple Pay
I need to have a dynamic parameter for Shortcuts, so a person can say something like
Hey Siri, order a pizza with
The parameter code in the appIntent is
@Parameter(title: "Title")
var itemName: String
In the Shortcut I use:
AppShortcut(
intent: NewItemIntent(),
phrases: [
"order \(\.$itemName) using \(.applicationName)"
],
shortTitle: "Order Item",
systemImageName: "sparkles"
)
When I call it "hey Siri, order pizza using ***" where pizza should be passed via the parameter then handed off to the appintent. However, it ignores the spoken parameter in lieu of putting up a dialog asking "What's the name?" I can say "pizza" and it now works. How can I pick up the parameter without having to go to that second step as the code implies?
I am using the standard SwiftUI component for subscription management, and on one device it is showing the user as unsubscribed when their sub is still in service.
The subscribe button is active but inert, doesn't do anything.
Ideas?
We have created an app that uses Appintents to plug into Siri. However, launching the app >sometimes< will launch a menu that will let the user choose between the app and Contacts. Why? How can I tell Siri to not ask for Contacts?
We're having trouble with getting Siri to hand off specific trigger words to our app via shortcuts. I want to be able to say "Hey Siri Myappname Foobar" but in some cases if Foobar is the name of a specific business it may launch maps instead showing locations of those businesses. Is there any way to inform Siri, "no, *****, launch our app as the shortcut specifies!"
I want to be able to dynamically update the phrase dictionary in an AppShortcut. However, whenever I abstract the phrases, the shortcut fails to display. That is, I am trying to do:
static var phrases: [AppShortcutPhrase<MyIntent>] = ["\(.applicationName) hello world"]
AppShortcut(
intent: MyIntent(),
phrases: phrases,
shortTitle: "hello world",
systemImageName: ""
)
However, the following works:
AppShortcut(
intent: MyIntent(),
phrases: "\(.applicationName) hello world",
shortTitle: "hello world",
systemImageName: ""
)
So, what gives?
Topic:
UI Frameworks
SubTopic:
General
I've been stuck for days trying to figure out how to extract the full text of a Siri prompt that launches my app. We need to be able to get the text of the full command, such as "Hey siri, buy dogfood...." so I can get "dogfood" or anything else following 'buy' . The examples I am finding are a) out of date or b) incomplelete. Right now we're using AppIntents with Shortcuts, but have to use dedicated shortcuts for each specific purchase, which are obviously very limiting.
I am needing to add/delete shortcuts in our app without using the Add to Siri button. But have been stymied at every turn. The most recent example is some code that uses an "AppShortcutCenter" call, supposedly added in iOS 17. But there is no such thing as that which I can find. What gives, and what's needed to do custom shortcuts on demand programmatically?
In our onboarding sequence we inform the user that Siri is required and to set it up if they have it off. We have a link that takes us to the root of the Systems tree, but have been unable to get it to launch into the Siri prefs itself, using a scheme that's widely available on StackOverflow, GitHub and so on.
ChatGPT says it can't be done as of 2022. I see a list on GitHub of the domains that was last updated just a year ago, suggesting that at least as of 17 it "should" work.
Another place said Apple would bounce apps which attempt to do that (we have the recommended URL string already in there which should have been detectable by their scans, and have not been bounced due to that so far).
I'm working with appIntents and custom responses with Siri. Sometimes I get the "Something went wrong..." message seemingly at random. There is a way to suppress it in a shortcut using its scripting language, but is there anything in Sirikit that could in effect, tell it to knock it off!, and suppress that message.
Or, is there a way, when generating a Shortcut in appIntents that allows for generating a small script as well?
Topic:
App & System Services
SubTopic:
General
I've thought I've seen all, now the Debug View Hierarchy button has decided to take a hike. One of XCode's coolest features just upped and vanished on the latest project. Shows fine in the previous two. Can't find anything that looks like an on/off switch for the thing and have capabilities and debug settings matched to the ones that work. (and yes, I am in debug mode)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Wasted about 3 hours on this yesterday.
I add a Text item in a field of a Form. Well and good. It wraps if needed, alights to the left a fixed amount no matter how much or how little text there is. All expected.
I added an image.
It alll went to hell after that as the text just sort of drew where it wanted to. It looked like the parent tile was now wider then the display area.
No amount of playing with Spacer(), padding, Frames. HStack alignments, Position fields, and so on did any good. as all I am trying to do a simple tile with a text block and image. And SwiftUI fights me every step of the way.
It's for a simple restaurant menu item tile. Name of item, price and image. If I drop the image, then it formats in a predictable fashion.
HStack{
VStack{
if let maindish = item["name"]{
Text("\(maindish)").foregroundColor(.primary).modifier(favoriteStyle()).fontWeight(.regular).font(.custom("Avenir",size:fontSize))
}
if let formattedPrice = item["formatted_price"]{
Text("\(formattedPrice)").foregroundColor(.secondary).modifier(favoriteStyle()).fontWeight(.bold).font(.custom("Avenir",size:fontSize))
}
}
Spacer()
if let imageURL = item["thumbnail_image"]{
if let url = URL(string:imageURL) {
drawImage(url:url, size:85.0).padding(0.0).padding(.trailing,75.00)
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
I am working with the location manager for heading info but keep on getting the compass heading calibration screen which I don't want. According to CLLocationManagerDelegate, that should be able to be disabled by returning NO from the delegate method: locationManagerShouldDisplayHeadingCalibration. However, that is never called.
(I don't need to know true headings, just that the user is turning around)