Xcode 10: Code Signing my App+Framework fails, because of failure signing 3rd party dependency framework (PromiseKit). Works in Xcode 9

前端 未结 3 1134
粉色の甜心
粉色の甜心 2021-02-04 01:36

I have an Xcode 10 - iOS12 swift project that links against My own framework (also Xcode 10 + iOS12).

The app project is referencing my framework project as a sub-proje

3条回答
  •  情书的邮戳
    2021-02-04 01:51

    This is what worked for me, I have application and 2 in-house built frameworks, say A $ B.

    Application needs A, but A needs B and since Apple doesn't recommend nesting frameworks, so both A and B had to be included in the app.

    This is what my Xcode project looks like.

    SOLUTION

    In the application, under Frameworks, Libraries and Embedded Content, select Embed & Sign for all necessary frameworks. (as shown below)

    But for all the custom framework projects, under Frameworks and Libraries section, select Do Not Embed. (as shown below) This fixed the issue for me

提交回复
热议问题