I have a small prefix header file
#ifndef UP_FOR_IT_PrefixHeader_pch
#define UP_FOR_IT_PrefixHeader_pch
#ifdef __OBJC__
#import
#
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.