tulsi
tulsi copied to clipboard
Support setting "Siri Intent Query" from an Intents app extension scheme
A normal Xcode scheme for an Intents app extension has this option, while the Tulsi generated one doesn't.
Normal Xcode scheme
![Screen Shot 2021-03-17 at 13 18 39](https://user-images.githubusercontent.com/4506500/111414623-a4989400-8723-11eb-87b6-c45a2c98818d.png)
Tulsi generated scheme
![Screen Shot 2021-03-17 at 13 17 38](https://user-images.githubusercontent.com/4506500/111414632-a82c1b00-8723-11eb-9804-077b66ce2a60.png)
If you diff that scheme with a normal one is there a clear section that it's missing? I feel like I debugged this for XcodeGen in the past
If the field is empty, there's no difference. If it's not empty, this setting is added to the LaunchAction
section:
intentQueryString = "Send Hi via App"
But manually adding that doesn't make that field show up. Xcode seems to also look at somewhere else.
Yes, I also met this problem. when I change the Executable to Ask on Launch, the will not display Intent Query String on UI, and it will force to select myApp.app to run, the will lead to can't run Siri success. I've took 2 hours with my colleague, no progress on this.
my config as below:
...
schemes:
xxxSiriExtension:
build:
targets:
xxx-project: all
run:
config: debug
commandLineArguments:
"DEBUG_BLOCK": true
intentQueryString: 'Show my agenda'
askForAppToLaunch: true
...
xxxSiriExtension:
type: app-extension
deploymentTarget: 13.0
templates:
- ExtensionIntentsTemplate
platform: iOS
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.xxx.xxx.xxx.Siri
INFOPLIST_FILE: xxxSiriExtension/info.plist
sources:
- path: xxxSiriExtension
but it is not working when I run xcodegen to run my project. @DavidGoldman @ivanhernandez13 @dmishe
If the field is empty, there's no difference. If it's not empty, this setting is added to the
LaunchAction
section:intentQueryString = "Send Hi via App"
But manually adding that doesn't make that field show up. Xcode seems to also look at somewhere else.
If the field is empty, there's no difference. If it's not empty, this setting is added to the
LaunchAction
section:intentQueryString = "Send Hi via App"
But manually adding that doesn't make that field show up. Xcode seems to also look at somewhere else.
Do you have any solution for this? @thii
Thanks for submitting this issue but this tool is being deprecated. Please checkout rules_xcodeproj for a more complete and maintained Xcode integration.