简体   繁体   English

如何将Fastlane构建添加到Xcode的存档组织器中?

[英]How can I add fastlane builds to Xcode's archive organizer?

After setting up fastlane with mostly default settings I got an automated build and upload to iTunes Connect using gym's export_method: "app-store" . 在使用大多数默认设置设置了fastlane之后 ,我得到了自动构建,并使用export_method: "app-store"export_method: "app-store"上传到iTunes Connect。 This uploads files to iTunes connect, and leaves in the current directory *.app.dSYM.zip and *.ipa files. 这会将文件上传到iTunes connect,并*.app.dSYM.zip在当前目录*.app.dSYM.zip*.ipa *.app.dSYM.zip文件中。 However, when I open Xcode's organizer I don't see a build archive for the uploaded files. 但是,当我打开Xcode的管理器时,看不到上载文件的构建档案。

Is it somehow possible to convert the files left by fastlane into an Xcode archive and have it appear in the organizer? 是否可以通过某种方式将fastlane留下的文件转换为Xcode存档,并将其显示在管理器中? Gym parameter documentation mentions alternatives for the export_method parameter : ad-hoc, package, enterprise, development, developer-id , but I have no idea what they mean or do. Gym参数文档中提到了export_method参数的替代方案ad-hoc, package, enterprise, development, developer-id ,但我不知道它们的含义或作用。

EDIT: Since Fastlane is placing files in a hardcoded path I opened an issue about this . 编辑:由于Fastlane将文件放置在硬编码的路径中,所以我打开了一个与此有关的问题

If you don't pass a build_path or archive_path to gym it should default to placing your archive into ~/Library/Developer/Xcode/Archives/[date] . 如果您不将build_patharchive_path传递给健身房 ,则默认情况下应将存档放入~/Library/Developer/Xcode/Archives/[date] That is where Xcode looks for archives, so they should then be visible in the Organizer! 这就是Xcode寻找档案的地方,因此它们应该在管理器中可见!

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

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