Prepare Provisioning profile: Keychain Access --> Certificate Assistant --> Request a Certificate from a Certificate Authority --> input email address (App ID), saved to disk. sign in https://developer.apple.com --> iOS Provisioning Portal --> Certificates --> Request Certificate --> input the certificate you saved to disk --> Submit. (Administrator will approve it .) from the email you input in keychain access, click the invitation code, and you will be invited to "Apple Developer Program" Download provisioning profile: xcode --> Organizer --> Devices --> Library --> Provisioning ProfilesClick Referesh: input App ID, download program profiles, not only yours. sign in https://developer.apple.com --> download your profile to disk --> drag it to provisioning profiles --> just your profile list there. you may have two profiles: one is a specific profile (I. e. it can be just used for specific app), the other is a generic profile. (I. e. it can be used for all apps you develop) Xcode --> targets --> your app --> change "code signing identity" to your identity. then you can select you device from scheme, to run/debug/install you app in your device. distribute: Xcode --> Product --> Archive --> generate. xcarchive file to disk, and it is also listed in Organizer --> ArchivesOrganizer --> Archives --> click one. xcarchive you generated --> distrimit: Submit to the iOS App store: Distribute to app store. save for Enterprise or Ad-Hoc Deployment: distribute to other places outside of app store --> Code signing identity (your identity) --> save ipa (build file) file to disk. (not check enterprise distrilight) distriister to testflight: Sign in testflight web site (you need register in it first) --> Add a build --> upload the ipa file you saved to disk. you can install/run you app in your device via testflight.