2012年10月9日 星期二

App Distribution Step and Troubleshoot

Steps for App Version Update
1. in iTunesConnect, login and go to App Management
2. Pick the app and select Add Version
3. edit info
4. add app icon 1024x1024 and screenshot 640x1136 for iOS 6 
5. status be changed to 'Waiting for Upload'

6. In Titanium, select Distribute - Apple iTunes Store  (If fail, try using XCode to create the archive. see troubleshoot #3 below)
7. Select the appropriate distribution provision profile. (any problem see troubleshoot #1 below)
8. if success, XCode Origanizer will be launched with "Archives" tag selected.
9. Click "Validate" (any problem see troubleshoot #2 below)
10. If validation ok, select "Distribute"


Troubleshoot
#1. Distribution Provision Profile expired.
Solution:
-  login developer.apple.com > go to Member Center to renew the expired profile.
-  To renew, select Provision Profile, select Modify, change something and click "Submit"
-  after renew, use titanium to distribute app with the renewed provision profile again.

#2. If prompt "No Identity found to sign the app" , possibly because the distribution provision profile is invalid. See if it's expired by checking XCode Organizer > Devices > Provision Profile.

Besides, during Validate, if it said "At least one of the following architecture must be present: armv6"
it's because XCode 4.5 no longer provide armv6, ie. no more support device below iOS 4.3 , set Deployment Target to iOS 4.3 or above will solve this issue.

If wanna build app which support iOS 4.3 or below, try this

#3. If Titanium fail to distribute:
Solution:
- clean build and run it in simulator using Titanium. 
- launch XCode 4.5 , open the xcode project file created in the build folder
- complete the remaining steps by follow the instructions in this blogpost

#4. During archive, it prompt Your account already has a valid iOS Distribution certificate
Solution:
1. Open keychain in the mac where the cert stored.
2. Select My certificates section. ...
3. Select Export.
4. It will ask you enter choice of password. ...
5. It will export p12 file. ...
6. At your mac, import this p12 file into your Keychain Program.
7. Start XCode and try again

沒有留言:

張貼留言