PrefixHeader.pch file can't find headers

前端 未结 4 729
粉色の甜心
粉色の甜心 2021-02-08 21:53

I have a small prefix header file

#ifndef UP_FOR_IT_PrefixHeader_pch
#define UP_FOR_IT_PrefixHeader_pch

#ifdef __OBJC__
    #import 
    #         


        
4条回答
  •  一个人的身影
    2021-02-08 22:10

    If you are using cocoapods, you may checkout this link. I got this problem but none of the solution above worked for me.

    I'm using cocoapods, the reason is that in the Podfile I only linked pods to default target. If you are going to add another one, you should add another target configuration in Podfile(target:'target' do). Usually the new one is the same to the original one, you could use link_with to make life easier.

    But life is not always that easy. It looks like that link_with is deprecated. You may checkout this link.

提交回复
热议问题