少废话,先上图
我刚搞ios,不知道是不是这个问题太简单还是怎么,网上搜一圈,都是某人在xcode下跑helloworld的文章,无语。
在文档上找到下面这段
In Xcode 3 you have to set an active target, a build configuration, and an executable as separate items. The problem with this approach is that targets, configurations, and executables are intimately linked. At its simplest, for example, a target contains one product, which is executed without any special options or environmental settings. However, sometimes the product requires values for input parameters or other customization before it can be executed. In Xcode 4, you select a scheme, which specifies which targets to build, what build configuration to use, which debugger to use, and which executable to launch when you choose Run from the Product menu or click the Run button at the left end of the toolbar.
大意是说xcode3需要设置活动目标,xcode4需要自己选择一个scheme(怎么翻译),才能跑起来.
tests工程的东西真是丰富啊,各种效果都有,新手必看啊