Code signing framework fails when distributing for Enterprise in Xcode 10

前端 未结 4 719
广开言路
广开言路 2021-01-01 21:44

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:

相关标签:
4条回答
  • 2021-01-01 22:27

    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

    0 讨论(0)
  • 2021-01-01 22:28

    remove carthage frameworks from "Link Binary With Libaries" section fix same issue on my project

    0 讨论(0)
  • 2021-01-01 22:35

    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。

    0 讨论(0)
  • 2021-01-01 22:43

    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:

    1. You added your frameworks as Linked (not Embedded)

    2. You have Run script phase in your Build phases:

    3. You added paths (Input Files) for all your Carthage frameworks

    0 讨论(0)
提交回复
热议问题