For everyone who is faced with this problem, here is what I did to solve it. I tried everything that was offered above, without any success. Here is my setup:
- MacOS Sierra 10.12.5
- Xcode 8.2
- The framework built by Carthage 0.22 on our CI infrastructure
I get a "Failure Resolution" error for the embedded environment.
If I replaced all the frameworks with the ones built using Carthage on my machine, everything would work. If I used the ones built from CI, I would see the "Permission Denied" error.
I double-checked that the OS versions are identical and the Xcode versions are identical. I compared the values of the Info.plist structure that was built on my machine from the CI infrastructure. I double-checked the file permissions for all the built-in frameworks of Carthage and the internal frameworks under Xcode.
If I replaced the problematic internally built framework with the one I created locally, the error then moved and gave me the "Permission to Deny" error in the UserNotifications module, which is located from Apple. It made no sense.
I missed everything but reinstall MacOS.
It turns out that the problem started after I added a new administrator to my machine to check something else. This user used only git.
After I deleted this user, I was able to build again believe it or not.
source share