How to add provisioning profiles to ionic build?

I am using Mac OS X 10.11. I am trying to deploy build to device (iPhone 4) by running sudo ionic run ios --device and the build end up with the error message saying: Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.

So, now I have pay USD 99 to register the developer program. I have create & download the provisioning profile from the website and double click on it. I think I have successfully add it to xcode. However, why is that when I run sudo ionic run ios --device, it still give me the same error? How can I solve it?


i realy with problems any for help?