I have some problems with my developer certificate and profile. I have certificate of developer program on my office Mac. I want to develop and test the app on my device at
Select My certificates section. Select entries listed as iOS Developer certificate, iOS Distribution Certificate etc. For the sake of simplicity select everything that you find related to your membership.
Select Export.
It will ask you enter choice of password. Enter it.
It will export p12 file. Transfer this file to your home mac.
At home mac, import this p12 file into your Keychain Program.
Start XCode and try to build again using the provisioning profile.
If the above does not work, try the entire thing with Keys section of your Keychain program.