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 🙂