How to Create the Upload File for Application Loader?

我们两清 提交于 2019-12-09 04:03:46

问题


When I use Application Loader, I get to the point where it asks me to "Choose..." the file to be uploaded.

If I understand correctly, it supposes to be the appName.app file I see under "Products" on my app bundle (I right click it and select "Show in Finder" to get to the specific file in library; then I'm supposed to ZIP it and the ZIP file is what I will choose in Application Loader). First, am I correct with this assumption?

if yes...

What should I define different in XCode than the way I used to build the application for testing (on simulator and on my personal iPhone)?

Should I change the Info--->Command-line build use from Debug to Release?

How should I define the Build Settings--->Code Signing section (in which field should I select the "iPhone Developer" option and in which should it be "iPhone Distribution")?

Are there any other important Info/Build Settings/p.list/etc... fields I should relate to?

any help will be appreciated...


回答1:


  • Launch Xcode 5 (Product > Archive to build the archive)
  • Goto Window > Organizer
  • Select the latest archive and click on the Export button
  • Select Save for Enterprise Deployment or Save for Ad Hoc Deployment
  • Select your provisioning profile and then Export
  • Choose a location to save the .ipa file

This is basically it. Hope it will help anyone looking for the answer.




回答2:


Go and login to the iOS Provisioning Portal. From the menu on the left, select "Distribution" and you should be landed to the "Prepare App" tab. Read through the instructions carefully, you mostly need the information under "Building your Application with Xcode for Distribution". Remember that "Only Team Agents are authorized to prepare and submit applications for distribution".




回答3:


If I remember correctly, the file that you need to choose is a "*.ipa" file which I was able to generated by archiving to project.

If you have xcode 4 it is recommended to add another scheme e.g. dist scheme and configure the scheme to release. Than compile (using the dist scheme) and go to the organizer to view/share/ or submit the application.

If you are using xcode 4, it has a bug which crashes the xcode if you choose validate or submit, in this case you should save upload the *.ipa using the application loader.

Hope this helps.




回答4:


I fixed this issue simply by renaming the storyboard file for the iPhone storyboard to Main_iPhone.storyboard.

Xcode looks for this file because it's built in to your plist (property list) file when you create a new project.

I created a universal app, and somewhere along the way I renamed that storyboard file. Because my app is universal, I didn't want to go monkeying around with deleting plist keys.

After trying again, I got the same error. Then I quit Xcode, restarted, re-validated, and it worked.

Good luck.




回答5:


Download the latest Application loader from here: https://itunesconnect.apple.com/apploader/ApplicationLoader_3.1.dmg. (Download the latest one. This doesn't get updated automatically. If you haven;t downloaded this recetnly you probably have a older version that may have errors which are solved in the newer version)

Then 1) Archive your build. 2) After your build archives, you will be in the builds page. 3) Export that build 4) Click "App Store blablabla" row 5) Save the file somewhere 6) Open Application Loader 7) click upload 8) upload that saved file.

Done.



来源:https://stackoverflow.com/questions/5937660/how-to-create-the-upload-file-for-application-loader

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!