When renaming a project the project became corrupted and i could not recover it. when opening the workspace no files are visible only the .xcworkspace file in red and the pods project file in red. the swift files remained so i copied them to a new project and now i cant get past the following error
2016-05-03 14:17:55.368 App Name[2194:827220] +[NSDate dateFromRFC3339String:]: unrecognized selector sent to class 0x397f0348
2016-05-03 14:17:55.369 App Name[2194:827220] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSDate dateFromRFC3339String:]: unrecognized selector sent to class 0x397f0348'
*** First throw call stack:
(0x2289798b 0x22032e17 0x2289d241 0x2289af51 0x227c62f8 0x1c2de3 0x1c31a7 0x1c2957 0x1c45cb 0x1c5525 0x22df92b9 0x230a9659 0x2300a723 0x22ffccf9 0x230ab911 0x18d3b6b 0x18d8655 0x22859bdd 0x228580d7 0x227a72e9 0x227a70d5 0x23d97ac9 0x26e6c0b9 0x160910 0x2244f873)
libc++abi.dylib: terminating with uncaught exception of type NSException
The same code worked fine in the previous project and the error. the project file does not appear to be present in the original file.
I need help on either debugging the above errors or to fix the original project.
any help will be greatly appreciated