I have been really sick and tired of this. I have done all the possible way to resolve this. But not getting the success. My SWIFT code is working fine on simulator . But when I try to run it on device or try to make an archive , I get this compilation error
Couldn't codesign /Users/SandeepHoney/Library/Developer/Xcode/DerivedData/SocialCircle-advannpwpzlrtleupycqgmvugcst/Build/Products/Debug-iphoneos/SocialCircle.app/Frameworks/libswiftCoreLocation.dylib: codesign failed with exit code 1
I have tried to re-generate provisioning profiles. but that thing isn't even working. I have followed this. But not working.. Don't know where I am doing wrong.

