ID. 3. Create a distribution certificate. 4. Install distribution certificate. 5. Create provisioning profile. 6. Download and install profile. 7. Fight with Xcode’s profile management for some time. 8. Tell Xcode to use the profile for distribution. 9. Build. 10. Export archive. 11. Upload to TestFlight, App Store, HockeyApp, etc. ( D E LI B E R AT E LY S MAL L )
E N E RAT I O N hamper cert create distribution --csr_path /request.csr --cert_path /out.cer --bundle_id com.mxl.new_app ... Generating certificate (this could take a minute)... Certificate successfully generated. Downloading certificate (this could take a minute)... Certificate successfully downloaded (/Users/kiran/out.cer). openssl genrsa -out private.key 2048 openssl req -new -key private.key -out request.csr Using openssl to generate key and CSR Generate a certificate
RO F I L E C RE AT I O N ... Waiting for Apple to generate profile (this could take a minute)... Provisioning profile successfully generated. Downloading provisioning profile... Profile successfully downloaded (/Users/kiran/p.mobileprovision). hamper profile create app_store --name MyApp_Production --bundle_id com.kp.my_app --profile_path p.mobileprovision --exp_day 20 --exp_month 04 --exp_year 2015
RO F I L E Waiting for Apple to generate profile (this could take a minute)... Provisioning profile successfully generated. Downloading provisioning profile... Profile successfully downloaded (/Users/kiran/p.mobileprovision). hamper profile create app_store --name MyApp_Production --bundle_id com.mxl.new_app --profile_path p.mobileprovision --exp_day 20 --exp_month 04 --exp_year 2015
F I L E uuid=`grep UUID -A1 -a p.mobileprovision | grep -io "[-A-Z0-9]\{36\}"` cp p.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/$uuid.mobileprovision H O L D O N T O T H AT U U I D , W E ’ RE G O I N G T O N E E D I T I N T H E N E X T S T E P
• Prompting interface. • Integration with openssl to generate CSRs. • Integration with iTunes Connect to create an app, fill out metadata. • General reliability improvements. B E CAU S E I T ’ S I N B E TA .