Questions tagged [sirikit]

SiriKit is an API exposed by Apple for integrating developer applications with Siri. Use this tag only for questions related to the new Siri APIs in macOS Sierra and iOS 10.

SiriKit related links and guides:

411 questions
0
votes
1 answer

Can't call INPauseWorkoutIntent without home button

I have implemented INPauseWorkoutIntent, INStartWorkoutIntent or INResumeWorkoutIntent in my app in IOS 12 and XCode 10. I can use the commands correctly with using home button to open Siri but what I need is Hand off. I mean, I just want to say…
birdcage
  • 2,638
  • 4
  • 35
  • 58
0
votes
1 answer

Siri - custom response

I am working on a Siri extension and I am wondering if it is possible to change Siri's response based on the situation. For example, if the application is supported while iPhone is charging and if the user asks for some actions from Siri while it is…
Bubu
  • 651
  • 8
  • 25
0
votes
0 answers

Is there any way to use Siri for home control via own app?

I have a list of termostats, which I should control via mine app. Access to them should be provided and removed dynamically during app work. Also I need to control them via Siri commands. Is there any way to connect mine app to Siri? I don't see any…
Viktor
  • 1,020
  • 1
  • 9
  • 22
0
votes
1 answer

Singleton not accessible in Sirikit IntentHandler

I have a project that I want to add sirikit to. I added the intent and wanted to store values in my datastorage which is realm, when I tried to access the function that is used to create this task , I get an eeror. this is my code below extension…
King
  • 1,885
  • 3
  • 27
  • 84
0
votes
1 answer

Suppress warning: The Swift file cannot be processed by a Copy Bundle Resources build phase

I have an app that uses a Swift framework that contains an intentdefinition file. I use CocoaPods to manage/distribute my frameworks, so, in order for Siri to successfully find the app and extension so that she can respond, I needed to add a "Build…
Paul King
  • 1,881
  • 20
  • 23
0
votes
1 answer

Alternative to application:handleIntent:completionHandler: on WatchOS

iOS's [application:handleIntent:completionHandler:] allows to handle SiriKit intents inside of AppDelegate class on iOS targets. I wonder whether there is an alternative for this method on WatchOS target as well? What I need is the similar function…
Viktor Malyi
  • 2,298
  • 2
  • 23
  • 40
0
votes
1 answer

Siri Intents without donation not visible in the settings

I've created a Siri Intent as described in the following tutorial: link to the tutorial I've added a single intent with a single paramter. I haven't donated the intent. I can't see the intent in "Siri Shortcuts" page in Settings. Should the intent…
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
0
votes
1 answer

Siri Shortcuts and CocoaPods - File Not Found

I've got Shortcuts up and running but now I want to actually link in my network code which uses the GCDAsyncSocket CocoaPod. Once I include my network manager class into my IntentsHandler I get a "Lexical or Preprocessor issue" and that…
Etep
  • 533
  • 7
  • 20
0
votes
1 answer

Siri shortcut custom response without extension?

My app has a custom intent and it suggests a shortcut to the user like this: let intent = ReadIntent() if let shortcut = INShortcut(intent: intent) { INVoiceShortcutCenter.shared.setShortcutSuggestions([shortcut]) } My app…
dbmrq
  • 1,451
  • 13
  • 32
0
votes
1 answer

Limits of SiriKit?

I'm thinking a lot about how Siri could improve the UX of my App. I'm coding an app dedicated to fitness, to log your workouts and your personal records. I would like to let the user use Siri to use features of my App, but I don't really understand…
KevinB
  • 2,454
  • 3
  • 25
  • 49
0
votes
1 answer

Is INImage or INImageNoteContent at fault?

In working with SiriKit's Notes & Lists domain, I've been able to create INNote as a response with INTextNoteContent, so the intent and response is working in principle. For responding with an image, using this code: let image: UIImage? =…
JKaz
  • 765
  • 6
  • 18
0
votes
1 answer

IntentsUI extension not reached for INSearchForNotebookItemsIntent

Implementing both custom and standard SiriKit intents and generally having good success. In principle, in the info.plist of both the Intents and IntentsUI extensions, you include the intent class supported, and the UI extension is run after the…
JKaz
  • 765
  • 6
  • 18
0
votes
1 answer

Can SiriKit be used to order coffee?

I have an app where user can order coffee. I read the following article about the basic domains that SiriKit supports - https://developer.apple.com/documentation/sirikit Can SiriKit be customised so that i can allow user to order coffee from my app…
Khadija Daruwala
  • 1,185
  • 3
  • 25
  • 54
0
votes
1 answer

Apple Mach-O Linker Error Siri target intents extension add on

I'm trying to integrate Siri into my app which is Objective-C / Swift. When I try to get data from other classes of my project into the IntentHandler.swift file to determine which contacts match the user's intent I get a Error: Undefined symbols for…
0
votes
4 answers

SiriKit custom intent linking error on Xcode 10

I have created a new Intent file, and now I have the following linker error: Undefined symbols for architecture arm64: "_OBJC_METACLASS_$_INIntentResponse", referenced from: _OBJC_METACLASS_$_KWdsjkhfjkdhskfIntentResponse in…
Corbin
  • 113
  • 1
  • 7