kentnguyen/KNSemiModalViewController

error: linker command failed with exit code 1

ChinaiOS opened this issue · 3 comments

After the addition, the following questions arise:
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

same as

add typedef

typedef NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
KNSemiModalTransitionStyleSlideUp,
KNSemiModalTransitionStyleFadeInOut,
KNSemiModalTransitionStyleFadeIn,
KNSemiModalTransitionStyleFadeOut,
};

Thank you @kkkelicheng . I just had to update some ancient code for iPhone X and this saved me.