It's even harder when there's updates on iOS or XCode. Anyway.
Before you even try to publish on iTunes Appstore, you need to get yourself familiar with the following lingo:
1. iTunes developer portal - https://developer.apple.com
2. iTunes Connect - https://itunesconnect.com
3. XCode - Schema, Archive feature
4. Keychain access.
Actually, i don't know why is it so hard to publish apps on appstore, but anyway, if you want to get rough idea without long walkthru, here it is:
1. Create your private/public keypair
KeyChain Access ->Certificate Assistant -> Request a Certificate from Certificate Authority -> Save it to disk
2. Upload your Certificate on to developer portal
Go to Developer portal: here https://developer.apple.com/ios/manage/overview/index.action
Certificate (Left bar) -> Distribution tab -> request certificate
Choose File (the one you saved on step 1) -> Submit
3. Associate certificate with provisioning profile
Provisioning (Left bar) -> Name your provisioning -> Associate your AppId -> Save
4. Download both your certicate, and provisioning profile. Click those downloaded files.
5. Create your appstore distribution build configuration
Project -> Info -> Configurations -> Click "+" sign, and duplicate "Release". Rename the configuration to "Appstore".
6. Create your appstore schema
Product->edit schema -> Click "+" sign and create another schema, call it "
7. Archive the "Appstore" build
Product->Manage Schema -> Edit (left bottom) -> Build Configuration = Appstore
8. Sign your code with the profile (it should say "Valid profile" )
Project -> Build setting -> iPhone Distribution -> your profile
9. Archive the project
- Set the target device to iOS device (that's OK without any device).
- Product -> Archive
- On success, click "Validate".
- On success, click "Distrubute"
done.
Why so many steps? Don't ask me. Ask Apple.
No comments:
Post a Comment