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:
2018-09-21 04:14:07 +0000 /var/folders/xj/stm8l48s1nq9320sfh3ytw140000gn/T/XcodeDistPipeline.IsE/Root/Payload/Fleet UAT.app/Frameworks/AppAuth.framework: replacing existing signature
2018-09-21 04:14:07 +0000 /var/folders/xj/stm8l48s1nq9320sfh3ytw140000gn/T/XcodeDistPipeline.IsE/Root/Payload/Fleet UAT.app/Frameworks/AppAuth.framework: code object is not signed at all
2018-09-21 04:14:07 +0000 /usr/bin/codesign exited with 1
Similar issue happens to all frameworks used by the project. These frameworks were added using Carthage.
This started happening after I upgraded to Xcode 10 & Carthage 0.30.1 (I was using 0.16.x previously).

