bundle format unrecognized, invalid, or unsuitable

后端 未结 6 2364
野性不改
野性不改 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 22:31

    I was seeing a similar issue with CocoaPods 0.39.0, in the end I solved it by modifying my pod spec:

    Commenting out

    s.resource_bundles = {
      'DHSErdi' => ['Pod/Assets/*.png']
    }
    

    And adding this

    s.resources = ['Pod/Assets/*.xib', 'Pod/Assets/*.png', 'Pod/Assets/*.jpg', 'Pod/Assets/*.html', 'Pod/Assets/javascript/dist/**/*.js','Pod/Assets/javascript/src/**/*.html']
    

提交回复
热议问题