yonaskolb / yonaskolb/XcodeGen
Issue with Siri Intents + Siri Intents UI
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
I've been able to use XcodeGen to create a today extension, but when I create another target with app-extension.intents-service, the info-plist fails to generate and the extension is not recognized as an intents extension. Here is what my target looks like, and i've embedded this into the container app as follows:
targets:
ExtensionIntents:
type: app-extension.intents-service
deploymentTarget: 11.0
platform: iOS
templates:
- ExtensionIntentsTemplate
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: co.project.Intents
INFOPLIST_FILE: Info/Extensions/ExtensionIntentsInfo.plist
sources:
- path: Intents
Main App:
MainApp:
[...]
dependencies:
- target: IntentsExtension
embed: true
codeSign: false
buildPhase:
copyFiles:
destination: plugins
And yes, an info.plist does exist at that path. When I create the intents target manually through xcode, everything looks good, but for my use case this extension needs to be regenerated every time.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the shown ExtensionIntents target and compare its generated project with an intents target created manually in Xcode. Inspect Info/Extensions/ExtensionIntentsInfo.plist and the MainApp dependency embedding configuration; done when the intents extension’s Info.plist is generated and Xcode recognizes the extension correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100