iOS Packaging Error in 5.1.1

Hey y’all! I just upgraded from 5.0 to 5.1.1 and can no longer package for iOS. This is a straight copy from 5.0, so I have made no changes to this version which packages fine in 5.0.

The error I get is not very helpful, either:

UATHelper: Packaging (IOS): AutomationTool exiting with ExitCode=9 (9)
UATHelper: Packaging (IOS): BUILD FAILED
PackagingResults: Error: Unknown Error

Any info to help me figure this out would be amazing, thanks!

Just to follow up, there was an issue with a marketplace plugin not instantiating, which caused the packaging to bail before it could tell me the real issue- my apple worldwide intermediate certificate was invalid.

This post goes over how to fix it:

https://developer.apple.com/forums/thread/86161?answerId=661749022#661749022