AppEnum requestValue doesn't work on iOS 17.4

I have several AppEnum in my app and I can no longer succesfully get a value using requestValue / requestDisambiguation methods in when running an AppIntent.

They all stopped working in iOS 17.4; The list of cases does show to the user but uppon selection it throws the following error:

AppIntents.PerformIntentError.unsupportedValueType

Found a fix / workaround. Changed my enum raw type from Int to String.

// doesn't work:
enum MyType: Int, AppEnum
// works:
enum MyType: String, AppEnum 

Can confirm. Thanks for getting me on the right path, @Kite-N-Shark. At this point I'm just happy that I only use(d) Int, AppEnum in my current WIP app, and not in the one already for sale. 🤬

The change works... Thank you @Kite-N-Shark

Thank you @Kite-N-Shark Shark indeed!!!

I'm also seeing this and getting reports of it from users. Unfortunately, users just see "Internal Error" which wasn't very helpful in identifying the issue.

I've filed a feedback for it FB13730210, I encourage others hitting this to do the same to get some numbers behind it.

AppEnum requestValue doesn't work on iOS 17.4
 
 
Q