ios - Linker failed with error code 1 -


i keep getting error linker command failed exit code 1 , seems because of .h-file. in stringsde.h define constant strings. might problem?

duplicate symbol _questioncatbuttonmixed in: /users/philip_air/library/developer/xcode/deriveddata/juraquiz-awgytksreajdjbdmoctjoffmzmmk/build/intermediates/juraquiz.build/debug-iphoneos/juraquiz.build/objects-normal/armv7/applaunch.o /users/philip_air/library/developer/xcode/deriveddata/juraquiz-awgytksreajdjbdmoctjoffmzmmk/build/intermediates/juraquiz.build/debug-iphoneos/juraquiz.build/objects-normal/armv7/quizvc.o ld: 17 duplicate symbols architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)

code:

http://pastebin.com/igtvab6k

declare of strings in .h file using:

// questioncat buttons extern nsstring const *questioncatbutton1; extern nsstring const *questioncatbutton2; extern nsstring const *questioncatbutton3; extern nsstring const *questioncatbuttonmixed; 

and define them in 1 single .m file this:

// questioncat buttons nsstring * const questioncatbutton1 = @"zivilrecht"; nsstring * const questioncatbutton2 = @"öffentliches recht"; nsstring * const questioncatbutton3 = @"strafrecht"; nsstring * const questioncatbuttonmixed = @"gemischt"; 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -