error: linker command failed with exit code 1
ChinaiOS opened this issue · 3 comments
ChinaiOS commented
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)
Easyzhan commented
same as
kkkelicheng commented
add typedef
typedef NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
KNSemiModalTransitionStyleSlideUp,
KNSemiModalTransitionStyleFadeInOut,
KNSemiModalTransitionStyleFadeIn,
KNSemiModalTransitionStyleFadeOut,
};
jesseteal commented
Thank you @kkkelicheng . I just had to update some ancient code for iPhone X and this saved me.