Deployment failed! iOS

Hi ,

Thanks for pointing out the error and the solution!
I tried to replace a certificate with a new one and I think the problem is I must have a paid developer account because a free one doesn’t work anymore. Or maybe I do something wrong.
A year ago I did the same way via VMware on Windows:
In Xcode I created an empty project and installed it to iPad then I took a provision file here

and certificate here

Then I run IPhonePackager and Imported files
In UE4 they are Valid but not green marked and Launch ends with the same error.

Is there a way to create a working certificate for testing needs for free?