如何使用Xcode服务器导出临时存档 [英] How to export ad-hoc archive using Xcode server

查看:121
本文介绍了如何使用Xcode服务器导出临时存档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode服务器(Xcode 9 beta 6),并定义了一个机器人,用于使用我的临时设置配置文件来存档和导出临时构建.我已经关闭了项目中的自动签名,并在bot Arguments窗口中为xcodebuild定义了参数,包括DEVELOPMENT_TEAM,PROVISIONING_PROFILE,AD_HOC_CODE_SIGNING_ALLOWED,BUNDLE_ID,CODE_SIGN_IDENTITY和signingStyle.

I’m using Xcode server (Xcode 9 beta 6) and defined a bot to archive and export an ad-hoc build using my ad-hoc provisioning profile. I have turned off automatic signing in the project and have defined arguments for xcodebuild in the bot Arguments window including DEVELOPMENT_TEAM, PROVISIONING_PROFILE, AD_HOC_CODE_SIGNING_ALLOWED, BUNDLE_ID, CODE_SIGN_IDENTITY and signingStyle.

当我运行集成时,构建成功并且创建了有效的存档,但是导出失败,并显示错误消息,提示应用程序需要配置文件".恢复建议是将配置文件添加到导出选项"列表中的"provisioningProfiles"字典中."

When I run the integration the build succeeds and a valid archive is created but exporting fails with error saying the app ‘requires a provisioning profile’. Recovery suggestion is to ‘add a profile to the "provisioningProfiles" dictionary in your Export Options list’.

我在exportOptions.plist中添加了"provisioningProfiles"字典,但我不知道如何让漫游器使用该列表?在集成结束时检查日志时,我看到该机器人已创建了自己正在使用的ExportOptions.plist.我看到列表使用的是存档相同"方法,所以我不知道为什么它不知道要使用哪个配置文件.

I added the "provisioningProfiles" dictionary in my exportOptions.plist but I don’t know how to get the bot to use that list? When I check the log at the end of the integration I see that the bot has created its own ExportOptions.plist that it is using. I see that the list is using method "same-as-archive" so I don’t know why it doesn’t know which profile to use.

我试图添加一个预构建脚本,该脚本将我的plist复制到bot工作空间中,但是bot会忽略它,并在集成过程中使用自己的文件覆盖plist.

I tried to add a pre-build script that copies my plist to the bot working space but the bot ignores it and overwrites the plist with its own file during integration.

我还尝试在bot Arguments列表上定义我的exportOptions.plist的路径,但是该路径将被忽略,并且bot仅使用自己的plist进行导出.

I also tried to define a path to my exportOptions.plist on the bot Arguments list but that is ignored and the bot just uses its own plist for exporting.

告诉机器人使用某种exportOptions.plist的方式是什么? (以及为什么存档相同"方法不起作用?)

What would be the way to tell the bot to use a certain exportOptions.plist? (And why would "same-as-archive" method not work?)

推荐答案

编辑Bot-> Configuration->厚Archive并打开Export标题为下拉列表

Edit Bot -> Configuration -> Thick Archive and open Export titled drop-down list

选择Use Custom Export Options Plist

然后浏览您的ExportOptions.plist

这篇关于如何使用Xcode服务器导出临时存档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆