I encountered a lot of problems when uploading a program to the appstore. Next I will extract some information I found online and the methods I used to solve the problem.
1. First of all to create an application in itunesconnect.apple.com, and write the description of what, see the specific web site http://www.cocoachina.com/bbs/read.php? Tid-7923.html
2. Use application later
Loader uploads your program, which is available in/developer/applications/utilities. The above will show your "waiting
For upload, select a program and upload the compressed zip file. After the upload is successful, itunesconnect.apple.com becomes "Waiting ".
For review status.
The problem is as follows:
1. When the upload is half done due to network reasons or canceled by yourself, the system will prompt"
Existing transporter instance is currently uploading this package ". There are two solutions:
(1). If the application is in the "waiting
Review status, reject and then upload again. Some may not be able to find the reject. Click View Details,
Links
Version Summary |
Binary details |
Status history |
Click the binary details button next to the uploaded icon, which is shown in the upper right corner. Then, the "reject this binary" button will be available in the upper right corner to reject.
(2) If the application is in the "waiting for upload" status, delete
~ /. All the files in the itmstransporter/uploadtokens/directory can be uploaded again.
2. When uploading a zip file, the following error occurs: iPhone/iPod
Touch: application executable is missing a required architecture. At least one of the following Architecture (s) must be present: armv6 solution.
As follows:
This error occurred, and I was puzzled. I tried several methods and failed. In desperation, I had to seek help from the great stackoverflow. The solution is translated as follows:
If your xcode version is 4.2 or later, try the following solution:
1. Click your project name (in the left column), and then click target:
2. Click 'build settings' (in the right column ):
3. Open the 'ubuntures' tag, click the row named 'release' or 'stribution ', and select 'other ...':
4. Double-click the row named '$ (archs_standard_32_bit)' To Make It editable. Delete the text and enter armv6. Click "+" in the lower left corner and enter armv7 in the displayed column. Click "done.
The above is the solution. If you try "build/archive" again, the above error message may not appear.
If the problem persists, try the link this answer from justinxreese, that is, add all the armv6 and armv7 information to "required device capabilities" in your info. plist file.
Stackoverflow URL: http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-an-armv6-architecture-even-with-build-config
3. also encountered uibackgroundmodes error, the solution to find the App-info.plist in the project, the prefix is not necessarily this, fill in the value of the required background modes item, the interpretation of the specific options to reference the interpretation of other students, in fact, you can directly change the plist without adding it to the program.
IOS 4.0 and later support background playing. The following describes how to play a sound file. After the screen is closed, the sound file can still be played. The specific implementation method is as follows:
Add the following fields to the plist file:
The statement is as follows:
Add the uibackgroundmodes key value to info. plist. It contains one or more string values, including
Audio: provides sound playing functions in the background, including audio streams and sounds during video playback.
Location: the user's location information can be maintained in the background.
VoIP: Use the VoIP function in the background
Add:
Avaudiosession * session = [avaudiosession sharedinstance];
[Session setactive: Yes error: Nil];
[Session setcategory: avaudiosessioncategoryplayback error: Nil];
The Declaration sound runs in the background. Finally, run the program and close the program. The sound is played successfully in the background.