Xcode 4 术语“用于测试的构建/用于运行的构建/用于分析的构建/用于归档的构建" [英] Xcode 4 terms "Build for testing / Build for running / build for profiling / build for archiving"

查看:26
本文介绍了Xcode 4 术语“用于测试的构建/用于运行的构建/用于分析的构建/用于归档的构建"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 4 中的以下操作有什么作用?

What do the following actions in Xcode 4 do?

  • 为测试而构建
  • 为运行而构建
  • 为分析而构建
  • 为归档而构建

我不确定何时使用其中的每一个(或者是否完全使用它们中的任何一个).

I'm not sure when to use each of these (or whether to use any of them at all).

推荐答案

Running 用于运行您的应用程序(在 Mac OS X 上,在模拟器中或在 iOS 设备上).

Running is for running your app (on the Mac for Mac OS X, in the simulator or on the device for iOS).

分析用于使用 Instruments 运行您的应用(用于查找内存泄漏、瓶颈等).

Profiling is for running your app with Instruments (for finding memory leaks, bottlenecks etc.).

测试用于运行单元测试.

归档正在构建您应用的可分发包(包括临时 iPhone 分发和上传到 App Store).

Archiving is building a distributable package of you app (incl. Ad-hoc iPhone distributions and upload to the App Store).

这篇关于Xcode 4 术语“用于测试的构建/用于运行的构建/用于分析的构建/用于归档的构建"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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