Xcode 4 terms “Build for testing / Build for running / build for profiling / build for archiving”

北慕城南 提交于 2019-12-04 15:18:56

问题


What do the following actions in Xcode 4 do?

  • Build for Testing
  • Build for Running
  • Build for Profiling
  • Build for Archiving

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


回答1:


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

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

Testing is for running unit tests.

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



来源:https://stackoverflow.com/questions/5580961/xcode-4-terms-build-for-testing-build-for-running-build-for-profiling-bui

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