i have tried EVERYTHING, looked through dozens of articles and repeatedly made sure my certs were valid and profiles were legitimate, but i keep getting this error
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. (-19011) Executable=/Users/roozmahdavian/Library/Developer/Xcode/DerivedData/Chances-clvdkoglyqraiefynxcmcsaqgjwg/Build/Products/Release-iphoneos/Chances.app/Chances codesign_wrapper-0.7.10: using Apple CA for profile evaluation /Users/roozmahdavian/Library/Developer/Xcode/DerivedData/Chances-clvdkoglyqraiefynxcmcsaqgjwg/Build/Products/Release-iphoneos/Chances.app: valid on disk /Users/roozmahdavian/Library/Developer/Xcode/DerivedData/Chances-clvdkoglyqraiefynxcmcsaqgjwg/Build/Products/Release-iphoneos/Chances.app: satisfies its Designated Requirement test-requirement: code failed to satisfy specified code requirement(s) codesign_wrapper-0.7.10: failed to execute codesign(1)
what am i supposed to do to fix this? its getting very frustrating