First question :
I want to run an iPhone application in iphone ,but how do i make the application allow my UUID.
is it i need a .mobileprovision file that generate from iphone developer program portal
am I need the “development.cer” and “distribute.cer” too?
If you have signed up for the 99 dollar certificate (which I assume that you have done), you can test on your device. Download the certificate files from you Portal and double click on them. They should show up in your keychains. Now, connect the device that you want to use and select "Use For Development." You can select this in your devices list in XCode. In your build options on your Target, in the target folder, you can select your certificate under the Code Sign tab. This is in the tab beside General (I forget the name at the moment). You should then be able to build onto your device. To build for development, follow this tutorial link:
http://mobiforge.com/developing/story/deploying-iphone-apps-real-devicesIf you want to distribute your application on the App Store, you will have to download the distribution certificate as your developer certificate will not work. To build for distribution, follow this tutorial link:
http://www.idev101.com/code/Distribution/build.htmlsecond question
how do i compile them togather? with xcode?
is it the application file is a zip file that included example.app & example.mobileprovision
Once you have it working once, it will work on all futher projects until your certificate expires. You do not have to use these files ever again.