Failed to import bridging header

前端 未结 9 1664
逝去的感伤
逝去的感伤 2020-12-01 09:19

I\'ve read a lot of questions and answers that deal with a similar issue, but I have yet to find a solution. If anyone could shed some light, that would be wonderful.

9条回答
  •  时光取名叫无心
    2020-12-01 10:10

    If you use CocoaPods this could save your time. 1) The first what you need to do is to check your Podfile it will be like:

    target 'YourProjTests' do
        inherit! :search_paths
    end
    
    target 'YourProjUITests' do
        inherit! :search_paths
    end
    

    2) Open baseproj configuration and set for test targets correct Pods-Proj.debug , see attached image:

提交回复
热议问题