How to solve “Application failed codesign verification” when uploading to iTunes Connect?

I found the solution to this problem after deeply looking at the log file. Although I created my own Distribution Profile and assigned to the CODE SIGNING IDENTITY the correct value for the developer certificate, it didn’t work giving me an error: “Application failed codesign verification”. The problem is at the following line: Authority=iPhone Developer: … Read more

A valid provisioning profile for this executable was not found for debug mode

It could be because your iphone is not recognized by the provisioning portal. Solution: 1) In Xcode, Goto –> Build –> clean all targets. 2) In “Groups & Files” –>Target –> expand it –> right click your app and select Clean “your app” 3) Goto->Window–>Organizer 4) In the Devices tab on the left, select your … Read more