iOS 16.x does not correctly load App Intents extension when building with Xcode 14.1 RC2

Originator:nikhil
Number:rdar://FB11739659 Date Originated:2022-11-01
Status:Closed Resolved:2023-06-05
Product:AppIntents.framework Product Version:16.1
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
 
When building an app with an App Intents extension with Xcode 14.1 RC 2 (21534.1), iOS 16.0 and 16.1 fail to load the intents extension. 

The same is observed when the App Intents are directly used as part for the main iOS app target.  

The debugger prints the following message: 
> Unable to fetch suggested focus intents for intent “Intent Name” 

When building the targets using Xcode 14.0.1, this works as expected and the intents target is run by the device.

Comments

Apple

Resolved in Xcode 15 Beta 1 - iOS 17/iPadOS 17 Beta 1

Nikhil

I’ve attached a sample project which reproduces this bug.

The same is also available on Github: https://github.com/dezinezync/FB11739659

Thank you, Nikhil.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!