I upgraded to X-Code 5 last night. Now when I've gone to continue development on one of my iOS apps (which compiled fine on the previous Xcode version) I've hit an error I don't seem to be able to solve.
When I build the app I get a compile error:
duplicate interface definition for class 'NSObject'
This appears to actually occur in nsobject.h in both Foundation.Framework and UIKit.Framework.
I'm not sure why this is happening. I've removed and re-added both frameworks, performed several cleans, tried building it under several SDK's etc. None of which worked.
Any tips/Ideas would be much appreciated.
Thanks!
Adam
verify that you do not have any old frameworks referenced in you Framework Search Paths under Build Settings. Remove those being old and update outdated locations.
Added a screenie for help.![screenie](https://i.stack.imgur.com/8IE7L.png)