在制作iPhone应用程序时,从xcodebuild中设置配置文件 [英] Setting a provisioning profile from within xcodebuild when making iPhone apps

查看:283
本文介绍了在制作iPhone应用程序时,从xcodebuild中设置配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 xcodebuild 从命令行编译我的iPhone应用程序。有没有办法传递某种选项来设置配置文件?似乎没有太多关于xcodebuild的信息。

I'm using xcodebuild to compile my iPhone app from the command line. Is there a way to pass in some sort of option to set the provisioning profile? There seems to be not very much information about xcodebuild in general.

推荐答案

文档

似乎来自doc,你不能设置配置文件但是你可以指定目标:

It seems from the doc, you can't set the provisioning file BUT you can specify the target:

[ - target targetname]

[-target targetname]

因此,如果您为每个配置文件创建一个目标,您可以从命令行中选择正确的目标。

So, if you create a target for each provisioning file, you could select the proper target from the command line.

这基本上可以完成您的要求。

This would basically accomplish what your asking.

这篇关于在制作iPhone应用程序时,从xcodebuild中设置配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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