bundle format unrecognized, invalid, or unsuitable

后端 未结 6 2332
野性不改
野性不改 2021-02-19 22:11

Xcode:8.1

language:Objective-C

I can run the project on my iPhone, but can\'t run on the simulator.

I tried:

1)deleting all data of the

6条回答
  •  名媛妹妹
    2021-02-19 22:29

    This is not the solution for topic-starter, however in my case I've recieved this error about 'bundle format unrecognized, invalid, or unsuitable' during CocoaPods post-build embed frameworks action on attempt to sign any framework. More of that, the issue was reproduced only when running build on Jenkins.

    The reason was really stupid. Jenkins was using the custom output directory, which did include space char in the middle. The CP post-build generated script doesn't handle paths with spaces properly, so the codesign tool actually was not fed with the correct path to framework.

    SOLUTION: double check you have no spaces in your path :)

    Hope this will help somebody to save some time :)

提交回复
热议问题