Failed to emit precompiled header for bridging header

后端 未结 20 1562
傲寒
傲寒 2020-11-30 04:35

I downloaded a project from GitHub, then pod the following files, some of which are written by OBJ-C and I used a bridge header.

pod ‘SnapKit’
pod ‘MJRefresh         


        
20条回答
  •  广开言路
    2020-11-30 05:24

    Since I have been stuck in this issue for 2 working days , I would like to share my issue for you because may be future searchers are facing my problem

    I was getting the mentioned error when running with command line , and I found that the command I was writing was for running .xcodeproj ,, but to run a .xcworkspace you have to write the following command

    xcodebuild -workspace PROJECTNAME.xcworkspace clean archive -archivePath build/PROJECTNAME -scheme SCHEMENAME

提交回复
热议问题