kentnguyen / KNSemiModalViewController

KNSemiModalViewController
1.8k stars 278 forks source link

error: linker command failed with exit code 1 #75

Open ChinaiOS opened 8 years ago

ChinaiOS commented 8 years ago

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 8 years ago

same as

kkkelicheng commented 8 years ago

add typedef

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

jesseteal commented 6 years ago

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