Linker command failed: duplicate symbol _applicationFrame - ios5

I am working on a universal application, but it gives linker error after adding a new class [CallScreenViewController]:
duplicate symbol _applicationFrame in /Users/msdk/Library/Developer/Xcode/DerivedData/UniversalTest-cxggvelerfpnpgfzfehcwddjtfkd/Build/Intermediates/UniversalTest.build/Debug-iphoneos/UniversalTest.build/Objects-normal/armv7/ChatScreenViewController.o and /Users/msdk/Library/Developer/Xcode/DerivedData/UniversalTest-cxggvelerfpnpgfzfehcwddjtfkd/Build/Intermediates/UniversalTest.build/Debug-iphoneos/UniversalTest.build/Objects-normal/armv7/CallScreenViewController.o for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have solve the problem.
CGRect applicationFrame is the cause for linker error. because it's declare globally both in ChatScreenViewController & CallScreenViewController.
Thanks Phillip :)

Related

ld: framework not found CouchbaseLiteSwift

I'm getting an error
ld: framework not found CouchbaseLiteSwift
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I imported CouchbaseLiteSwift.framework on a folder frameworks like image show
i also included it on embedded binaries, and on framework search path i added :
$(PROJECT_DIR)/Frameworks
/Users/user/Documents/CouchbaseLiteTest/Frameworks
$(PROJECT_DIR)
/Users/user/Documents/CouchbaseLiteTest/Frameworks/CouchbaseLiteSwift.framework
$(inherited)
But still have this error, please help

ld: framework not found -Accelerate clang: error: linker command failed with exit code 1

i am trying to implement Apptentive SDK in my iPhone application as per the guide document.
everything was gone good. but at last point of implementing SDK found error.that is Accelerate framework directory path not fount like that a error occurs
ld: framework not found -Accelerate
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
it may be Xcode version in-compatability issues, if we change directory path it may works

Library not Found

Pulling my hair out on this Library not found error after updating to Xcode 5!
ld: library not found for -lAppLovinSdk
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried with Library Search Path but no luck.Does any one know how to solve this?

linker command failed with exit code 1 for arc i368

hi while running the app i am facing this error:
`/Users/sandeep/Library/Developer/Xcode/DerivedData/dump-dthllbuozjssjoaoxafcckvdapti/Build/Intermediates/dump.build/Debug-iphonesimulator/dump.build/Objects-normal/i386/main.o
/Users/sandeep/Library/Developer/Xcode/DerivedData/dump-dthllbuozjssjoaoxafcckvdapti/Build/Intermediates/dump.build/Debug-iphonesimulator/dump.build/Objects-normal/i386/FSExtractor.o`
ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi every one thanks for comments and there is such a file with same name and its about .c and .h file, i imported .h file only but still i am getting that error, not getting any idea how to clear it

error: linker command failed with exit code 1 (use -v to see invocation)

When I use GooglePluse Library file it works on iphone simulator.
But when I run it on device it gives the following Error:
ld: duplicate symbol _OBJC_CLASS_$_GooglePlusSignIn in /Pratik workspace/Fitness
app/Fitness Ap/Fitness/lib/libGooglePlusUniversal.a(GooglePlusSignIn.o) and /Pratik
workspace/Fitness app/Fitness Ap/Fitness/lib/libGooglePlus.a(GooglePlusSignIn.o) for
architecture armv7 clang: error: linker command failed with exit code 1 (use -v to
see invocation)
you will have 2 files with same name that's why it is giving error like this.
go in targets ->Build Phases ->Compile sources and try to remove GooglePlusSignIn file.it will be there i think.
then run again and let me know whether it is working or not..!!!
Happy coding...!!!!