I am trying to distribute an app for Enterprise, and keep getting this error (after selecting the Provisioning Profile):
Digging into the logs reveal this:
I was able to fix this issue by changing the target's build setting "Build Active Architecture only" to "Yes" then romoving "i386" from the "Valid Architectures". I found my solution here: https://github.com/Carthage/Carthage/issues/1771
remove carthage frameworks from "Link Binary With Libaries" section fix same issue on my project
I had such a problem a few days ago. the The problem is related to your framework,it may be damaged。 you can download or generate a new one。That solves my problem。
When you are adding frameworks using Carthage you need to follow some steps in order to make it work properly. Here is a tutorial: https://www.raywenderlich.com/416-carthage-tutorial-getting-started
In your case make sure, that:
You added your frameworks as Linked (not Embedded)
You have Run script phase in your Build phases:
You added paths (Input Files) for all your Carthage frameworks