I'm trying to get an update for one of my apps submitted but I'm running into problems when trying to distribute the app. The App Store Connect service goes through all the steps of uploading the binary and then fails at the very end with a triple error ITMS-90625: "Invalid Intent Extension. The NSExtensionAttributes key in the Info.plist file can't contain the intent name INCurrentRateIntent". I tried to fix the error, tried to look for others with the error, but so far I have drawn a blank.
This is an overview of the structure of the app. The app has an iOS/iPadOS target as well as a WatchOS target. The app is written in Swift/SwiftUI with minimal UIKit hooks and targets iOS 13.2. In addition, there is a widget target. The WatchOS app is a standalone app. All of these components work well and are the current version of the app as available on the App Store.
For the next app update I want to add support for Siri Intents. I did so by adding a new iOS Siri intents target (there are no intents for the WatchOS target), creating the intents file, and linking the rest of the app (donating, responding, the works). There are three intents added. Two are basic intents without parameters, one intent has two parameters that are user-configurable. All intents provide a response (the tow basic intents provide an NSNumber, the other one a Date). Both the widget and the Siri intents target share some core code, which is a basic version of the code used by the main components. The app update includes further changes, but these are all in the backend and only affect basic Swift code, not any part of the UI.
Everything works as intended when testing on my test devices. The app compiles, there are no errors or warnings, intents are successfully donated, actions are available in Shortcuts, the actions can be parameterised, and the actions provide the desired results. Since I'm happy with the internal testing I went ahead with distributing the app through the App Store.
Whenever I try to upload the binary for distribution, I get hit with three errors ITMS-90625: "Invalid Intent Extension". The build does successfully upload when removing the new Siri Intent target. When trying to rebuild the Siri Intent target from scratch (after deleting the target and the referenced files) the end result when uploading to App Store Connect is the same and triggers an ITMS-90625 error from App Store Connect.
I'm not sure what else I can do or what I'm overlooking. The mentioned information in the Info.plist is auto-generated by XCode and contains the correct information. The name of the intent is INCurrentRate and the auto-generated class name is INCurrentRateIntent . This class name is the one mentioned in Info.plist. The same holds for the other two intents added in the file.
Anyone who encountered this particular, or anyone who would know how to get the app submit through App Store Connect?