Xcode Provisioning Profile

Hi all,

I am new to ios, I have been struggling all day long to run a simple game on my Iphone, I searched alot and tried many other methods, but I was not able to run my game on my iPhone

What I have ?
$99 paid ios dev program
Xcode 5
OSX Mavrericks

What is the problem ?
It started with “Code Sign Error”, to run the game on my device I needed Provisioning Profile, Xcode generates one but it is always at pending status (from web portal), I go to xcode>pref>accounts>details I refresh it, but pro. profiles not there

I cerated a prov. profile from web portal, it was active, I added manually to organizer, but xcode ignores it and tries to create a new one which will pending forever ?

Any help ?

Xcode generated one can be hours in pending state but let it be and dont delete it.