I have two ideas that would fix the problem:
do not work with the app project and Swift macro package at the same time. Only one of them can be opened.
go to the issues navigator and find the issue that relates to 'Trust & Enable' the macro package.
Is one of them working for you?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: