What the tool does can be reproduced simply by using those APIs in an ios_application target, and rules_xcodeproj can be used in a pinch to test this out. My best guess is it seems to be running it against all sources for an Xcode iOS application target.
Looks like there's a new tool that will extract metadata from code and turn them into
appintents
https://developer.apple.com/documentation/AppIntents/AppEntity
bazelbuild Slack thread: https://bazelbuild.slack.com/archives/CD3QY5C2X/p1669231881137459
What the tool does can be reproduced simply by using those APIs in an
ios_application
target, and rules_xcodeproj can be used in a pinch to test this out. My best guess is it seems to be running it against all sources for an Xcode iOS application target.The metadata extraction is skipped if an app target does not link AppIntent.framework:
Similar prior work: #298