iOS error “Embedded binary is not signed with the same certificate as the parent app”

前端 未结 13 1381
旧巷少年郎
旧巷少年郎 2020-12-01 10:36

Those are my first steps in IOS applications development and I\'m facing some problem that I can\'t figure out.

error: Embedded binary is not signed with the         


        
13条回答
  •  半阙折子戏
    2020-12-01 10:41

    I got this error after adding a Copy Files Build Phase to the main app Target.

    Copy Files
    Destination: Absolute Path
    Path: /Applications
    File: MyApp.app

    This worked the first time I ran the app.

    On subsequent runs, Xcode began complaining about the certificate mismatch.

    Removing the Copy Files build phase fixes the certificate mismatch. I'm still searching for a way to Copy Files without the error.

    Same issue links:

    • https://stackoverflow.com/a/32802258/1265393
    • https://forums.developer.apple.com/thread/102707
    • https://github.com/Bouke/SwiftInitializerGenerator/issues/6

提交回复
热议问题