How to export ad-hoc archive using Xcode server

前提是你 提交于 2019-12-06 05:58:05

This is what I did to get the bot make manually signed ad-hoc builds.

First did archive on Xcode and manually exported an ad-hoc build from Organizer. That way I could guarantee that the created ExportOptions.plist is a valid one.

Then I just told the bot to use this plist i.e. bot Configuration->Archive->Export->Use Custom Export Options Plist and selected the plist.

After that I still needed to set three items in the bot Arguments list (arguments passed to xcodebuild)
DEVELOPMENT_TEAM=Q76YSCRTM8
PROVISIONING_PROFILE=71bfe232-88e0-43a0-b9f5-f99fa87e09ee3
CODE_SIGN_IDENTITY="iPhone Distribution: My Company"

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

Select Use Custom Export Options Plist

Then browse your ExportOptions.plist

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