简体   繁体   English

XCode中。 如何自动构建和“上传到App Store”的iOS项目

[英]XCode. How to automatically build and “Upload to App Store” iOS project

To upload my iOS project to iTunesConnect I must do next steps: 要将我的iOS项目上传到iTunesConnect,我必须执行以下步骤:

  1. Build project for Generic iOS Device. 为通用iOS设备构建项目。 In XCode 在XCode中

  2. Press button "Upload to App Store". 按“上传到App Store”按钮。 In Organizer 在组织者

  3. Choose Development Team for publishing. 选择开发团队进行发布。 This team exists in info.plist 该团队存在于info.plist中

  4. Enable/disable checkboxes: "Include app symbols for your app..." 启用/禁用复选框:“包含应用的应用符号...”

  5. Press button "Upload" 按“上传”按钮


Is there way for make all this steps in one command? 有没有办法在一个命令中完成所有这些步骤? Like: 喜欢:

$ project build_and_send_to_AppStore

You should read about the CI . 您应该阅读CI

With help of the CI you could automate delivery of the build to the customers and iTunesConnect. 借助CI,您可以自动将构建交付给客户和iTunesConnect。

But with Apple iTunesConnect is small issue there is no clear API for this. 但由于Apple iTunesConnect是一个小问题,因此没有明确的API。 So there are a bunch of workarounds that are written in Ruby. 因此,有许多使用Ruby编写的变通方法。 But thay would like to know you're login and password to be able to deliver app to iTunesConnect be careful with this. 但是,想知道你是登录和密码,以便能够将应用程序交付给iTunesConnect注意这一点。

My preferred tools of CI are Bitrise and Travis . 我首选的CI工具是BitriseTravis they are quite easy to use and customize. 它们非常易于使用和定制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM