If you download Xcode 7 Beta it already offers the option to test the application without the need to pay a $ 99 license, and a tip, use Testflight
, with it you can send your app to your friends test and give you feedback.
All I did to test my application on my phone was:
1 ° Install Xcode 7 Beta.
2 ° Open preferences - > Account clicking the left button will open a pop up Logue with your App ID.
3rd Plug your iphone into your macbook, confirm on your phone to trust your macbook, go to xcode, list of builds instead of getting Device will appear the name of your device.
A message called "Fix Issue" will appear if your name is not selected as a team.
5 ° Compile and do not forget to leave the iPhone unlocked.
I do not know if there is a lot of it but I tested it on a macbook using Yosemite.