Xcode在我的iPhone应用程序上运行代码签名后如何运行脚本? [英] How to run a script after Xcode runs codesign on my iPhone app?

查看:169
本文介绍了Xcode在我的iPhone应用程序上运行代码签名后如何运行脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了一个脚本,该脚本执行了一些步骤来打包我的构建以进行Ad Hoc分发。我的第一个猜测是在我的Ad Hoc目标中使用运行脚本阶段。但看起来代码签名固定在构建iPhone应用程序链的最后一个位置。

I've got a script written which does some steps to package my build for an Ad Hoc distribution. My first guess was to use a run script phase in my Ad Hoc target. But it looks like codesigning is fixed at the last position in the chain of building iPhone apps.

有人知道如何在最后一刻运行我的脚本在构建过程中?

Somebody has a clue how can I run my script at the very last possible moment in the build process?

更新:查看这个答案

推荐答案

您能否创建一个聚合目标,其中包含您的Ad hoc目标和运行脚本构建阶段(在Ad hoc之后运行)目标)?

Can you create an aggregate target that contains both your "Ad hoc" target and a run script build phase (that runs after the "Ad hoc" target)?

这篇关于Xcode在我的iPhone应用程序上运行代码签名后如何运行脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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