命令行更新供应配置文件 [英] Command line Update of Provisioning Profiles

查看:126
本文介绍了命令行更新供应配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到任何相关内容(也许我只是使用错误的搜索条件..):

我们正在尝试为我们的应用程序构建合理的持续集成设置。为了实现真正合理的实现,构建服务器应该能够从apple自动刷新使用的配置文件。类似于X-Code组织者所做的事情,但是通过命令行自动完成。

任何线索是否可行?

I couldn't find anything on this (maybe I'm just using the wrong search terms..):
We're trying to build a sensible continuous integration setting for our apps. To have a REALLY sensible implementation, the build server should be able to automatically refresh the used provisioning profiles from apple. Similar to what the X-Code organizer does, but automagically via command line.
Any clue if that's possible at all?

推荐答案

这是我的bash脚本,其中脚本的第一个参数($ 1)是新配置文件的位置。

Here's my bash script for it, where the first argument to the script ($1) is the location of the new profiles.

rm -Rf ~/Library/MobileDevice/Provisioning\ Profiles/*
cp "$1"/*.* ~/Library/MobileDevice/Provisioning\ Profiles/

基本上, 〜/ Library / MobileDevice / Provisioning Profiles /文件夹中的任何内容都可用于构建(并将显示在Xcode中)。

Basically, anything in that ~/Library/MobileDevice/Provisioning Profiles/ folder can be used to build with (and will show up in Xcode).

如果你想站立在CI系统上,我最近发表了一篇关于使用Hudson的演讲,并提出了一些幻灯片和笔记在这里。如果您对此有任何疑问,我的电子邮件将在我的网站上。

If you're looking to stand up a CI system, I recently gave a talk on using Hudson for it, and put up some slides and notes over here. My email is on my site if you have any questions about it.

这篇关于命令行更新供应配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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