Codesign Fatal Error Xcode 8.2.1

I moved a 3 year old Xcode Project from an old computer to my new computer. It is a project built in FxPlug framework. I updated all the code and got rid of all the errors except 1.


"Command /usr/bin/codesign failed with exit code 1"


I have read up on this and tried the suggestons which are:


execute "xattr -rc ." both in DerivedData directory and Project directory


I have tried this several times and when i clean and try to build the error still exists. It seems that this issue is happening to a lot of people and the solution seems to only work for some based on my research. I am lost as to what to do any help would be greatly appreciated.

Did you perform an option-clean ?

Codesign Fatal Error Xcode 8.2.1
 
 
Q