Found the solution. Apparently this is a known (SR-13343) in Xcode 12. It has to do with "SwiftPM binaryTarget dependency and code signing", where Xcode fails to sign the frameworks that are provided by SwiftPM.
See this link: https://forums.swift.org/t/swiftpm-binarytarget-dependency-and-code-signing/38953
If you read thru you will find a link to the work around, by adding a script to the build phase of the target:
Work Around Link: pspdfkit.com/guides/ios/current/knowledge-base/library-not-found-swiftpm/
I just added the script to my app, everything is now good!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: