If you're building with a Workspace, in addition to making sure it's a local dependency in your project, you're also going to want to add it to the workspace file as a group:
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:MISSING_PACKAGE">
</FileRef>
...
</Workspace>
This is what allowed it to work in my setup on XCode Cloud where it was failing before.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: