I accidentally removed app delegate.m and .h file from the folder of the app.
Then in xcode I could see the name (Appdelegate.h and .m) but with no content.
I found the files in the trash and I dragged and dropped them in the xcode and now I see doubles of both files.
If i try to run my project I keep getting this error:
duplicate symbol _OBJC_IVAR_$_AppDelegate._window in:
If I remove the one of the two duplicates, both are being deleted.
Make sure
delegate.mis only listed once within the Compile-Sources.To get that done; tap on your project on the left top within the project navigator, tap on the target, select
Build Phases, expandCompile Sourceand now check ifdelegate.mis in there only once.