Valid signature error when installing on Device

When I tried to install my app on iPhone I got this error:
“The application does not have a valid signature”
My first development target was: 10.3 and iPhone is 8.3 so I change it and remove StackViews to resolve errors.
xCode version: 8.3.1 swift: 3.1
I installed this 3rd party libraries with Carthage:
-Alamofire
-AlamofireImage
-SwiftyJSON
-Chameleon
-Crashlytics
-Fabric
-DeviceKit
-Kingfisher
I’ve searched and find nothing.I’v tried to clean,rebuild,update carthage.

@omnia6890 Thanks very much for your question! I found the following answer on StackOverflow which might be a possible solution to your problem.

I hope this helps!

All the best!