如何为应用程序加载器创建上传文件?

发布于 2024-11-06 15:04:11 字数 543 浏览 1 评论 0原文

当我使用应用程序加载器时,它要求我“选择...”要上传的文件。

如果我理解正确,它应该是我在应用程序包的“产品”下看到的 appName.app 文件(我右键单击它并选择“在 Finder 中显示”以访问库中的特定文件;那么我应该将其压缩,ZIP 文件是我将在应用程序加载器中选择的文件)。首先,我的这个假设正确吗?

如果是的话...

我应该在 XCode 中定义什么不同于我用来构建测试应用程序的方式(在模拟器和我的个人 iPhone 上)?

我是否应该将信息--->命令行构建使用调试更改为发布

我应该如何定义构建设置--->代码签名部分(我应该在哪个字段中选择“iPhone Developer”选项,并且应该在哪个字段中选择“<强>iPhone分布”)?

还有其他重要的信息/构建设置/p.list/等...我应该涉及的字段吗?

任何帮助将不胜感激...

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...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

标点 2024-11-13 15:04:11
  • 启动 Xcode 5 (Product > Archive 构建存档)
  • Goto Window > > 组织者
  • 选择最新的存档,然后单击导出按钮
  • 选择保存用于企业部署保存用于临时部署
  • 选择您的配置文件,然后导出
  • 选择保存 .ipa 文件的位置

这基本上就是这样。希望它能帮助任何寻找答案的人。

  • 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.

夜无邪 2024-11-13 15:04:11

转至并登录 iOS 配置门户。从左侧菜单中,选择“分发”,您应该会进入“准备应用程序”选项卡。仔细阅读说明,您主要需要“使用 Xcode 构建应用程序以进行分发”下的信息。
请记住“只有团队代理有权准备和提交分发申请”。

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".

缱倦旧时光 2024-11-13 15:04:11

如果我没记错的话,您需要选择的文件是“*.ipa”文件,我可以通过存档到项目来生成该文件。

如果您有 xcode 4,建议添加另一个方案(例如 dist 方案)并将该方案配置为发布。
然后编译(使用 dist 方案)并转到组织者处查看/共享/或提交应用程序。

如果您使用的是 xcode 4,它有一个错误,如果您选择验证或提交,则会导致 xcode 崩溃,在这种情况下,您应该使用应用程序加载器保存上传 *.ipa。

希望这有帮助。

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.

浅沫记忆 2024-11-13 15:04:11

我只需将 iPhone 故事板的故事板文件重命名为 Main_iPhone.storyboard 就解决了这个问题。

Xcode 会查找此文件,因为当您创建新项目时,它已内置到您的 plist(属性列表)文件中。

我创建了一个通用应用程序,并在此过程中我重命名了该故事板文件。因为我的应用程序是通用的,所以我不想胡乱删除 plist 键。

再次尝试后,我得到了同样的错误。然后我退出 Xcode,重新启动,重新验证,它起作用了。

祝你好运。

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.

提赋 2024-11-13 15:04:11

从此处下载最新的应用程序加载器: https://itunesconnect.apple.com/apploader/ ApplicationLoader_3.1.dmg
(下载最新版本。它不会自动更新。如果您最近没有下载此版本,则您可能拥有旧版本,该版本可能存在错误,这些错误已在新版本中解决)

然后 1) 存档您的构建。
2) 构建存档后,您将进入构建页面。
3) 导出该构建
4)点击“App Store blablabla”行
5)将文件保存在某处
6) 打开应用程序加载器
7)点击上传
8) 上传保存的文件。

完毕。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文