When i build my project I get a duplicate symbol error from clang.
duplicate symbol _server in:
/Users/ashwinjeyakumar/Library/Developer/Xcode/DerivedData/Hikes-emzsxfmokzerjhevoirupbsrobpm/Build/Intermediates/Hikes.build/Release-iphonesimulator/Hikes.build/Objects-normal/i386/HikeViewController.o
/Users/ashwinjeyakumar/Library/Developer/Xcode/DerivedData/Hikes-emzsxfmokzerjhevoirupbsrobpm/Build/Intermediates/Hikes.build/Release-iphonesimulator/Hikes.build/Objects-normal/i386/HikeSearchResultsViewController.o
ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
To debug this, I found where I defined server (it was a property) and removed it, replacing it with an info.plist entry. The error wouldn't go away though. I've tried:
- renaming the Server entry in Info.Plist
- 'rm -rf' under /Users/[myusername]/Library/Developer/Xcode/DerivedData
A Shift+cmd+F search of my xcode project doesnt find any results for 'server' but the error still persists.