sirikit

Unable to add Siri capability in Xcode and apple developer centre too

有些话、适合烂在心里 提交于 2021-02-19 02:47:19
问题 I did a lot of research but didn't got any help. I am unable to add capability of 'Siri' in xcode and can't see any option in my apple developer account too, I am asked to purchase the membership instead. By any chance is it possible to create an app in iTunesConnect without making the payment of USD99. I just want to learn some new stuffs like Siri integration, but to do so I need to add the capability in app from developer account and to add an app I have to get enrolled and pay $99. Even

How do I check if my app is resumed by a Siri shortcut

青春壹個敷衍的年華 提交于 2021-02-11 14:37:57
问题 I am working with Siri shortcuts . I wanted to know if my app is launched from a Siri shortcut in the following cases: When the application is running in the background When the application is not running in the background For case 2 , I can use the " didFinishLaunchingWithOptions " method but for case 1 , I am not sure what approach to use. I would appreciate any suggestions and thoughts on this topic. Thank you. 回答1: You can implement this check in your AppDelegate func application(_

How can I utilize Siri to create a custom object without donating intents or using shortcuts?

自作多情 提交于 2021-02-11 12:54:26
问题 *Using Swift 4.2 & Xcode 10.2 I'm trying to make my application more feature-rich by allowing a user to create an object hands free. The app is designed to make the creation of certain object easier, so it would be great to allow a user to create a basic object by invoking Siri. However, I'd like the Siri functionality to be already integrated when the app is downloaded/run for the first time. The issues I'm having with SiriKit and Shortcuts right now: You are recommended to "donate" a custom

SiriKit crashes: “Use of the class from an app requires the entitlement com.apple.developer.siri.”

谁都会走 提交于 2020-12-02 08:48:15
问题 We have been receiving crash reports say that " Use of the class INPreferences from an app requires the entitlement com.apple.developer.siri. Did you enable the Siri capability in your Xcode project? ". But We have absolutely enabled the Siri capability in Xcode, and the APP ID does support the Siri feature, otherwise our app would have crashed all the time. So, why just some devices crashed? This bothers us a lot. Anyone knows the reason or has encoutered the same problem? We'd appreciate if

SiriKit crashes: “Use of the class from an app requires the entitlement com.apple.developer.siri.”

陌路散爱 提交于 2020-12-02 08:46:56
问题 We have been receiving crash reports say that " Use of the class INPreferences from an app requires the entitlement com.apple.developer.siri. Did you enable the Siri capability in your Xcode project? ". But We have absolutely enabled the Siri capability in Xcode, and the APP ID does support the Siri feature, otherwise our app would have crashed all the time. So, why just some devices crashed? This bothers us a lot. Anyone knows the reason or has encoutered the same problem? We'd appreciate if

Create custom type parameter in sirikit

混江龙づ霸主 提交于 2020-05-17 07:43:06
问题 I am working on siri kit and try to create own datatype in Intents.intentdefinition. i refer soupchef demo project which was presented by apple on last WWDC 2019 and in that demo project toppings fields has a custom type. So how custom type is showing and come in datatype/dropdown list? see below How can i create my custom type field? Thank you in advance. 回答1: On the left in the screenshot there are OrderSoup , Soup , OrderType , OrderDetails . If you look in in the lower parts on the left,