构建输出将流向何方? [英] Where is build output going?

查看:32
本文介绍了构建输出将流向何方?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 4中有一个库项目.我正在针对iOS 4.3进行构建.构建产品路径设置为/Developer/Projects/BuildOutput.我正在构建"iPhone 4.3模拟器".在Xcode4中,如何指定调试或发布版本?

I have a library project in Xcode 4. I'm building against iOS 4.3. The build products path is set to /Developer/Projects/BuildOutput. I'm building 'iPhone 4.3 Simulator'. In Xcode4, how do you specify a debug or release build?

当我转到/Developer/Projects/BuildOutput/Debug-iphonesimulator时,库.a文件不存在.

When I go to /Developer/Projects/BuildOutput/Debug-iphonesimulator, the library .a file is not there.

在项目设置的信息"选项卡中,命令行构建使用"设置为调试".在以前版本的Xcode中,IDE主工具栏上的下拉菜单提供了调试/发布构建选项-与我选择"iPhone 4.3 Simulator"的位置相同.

In the project settings Info tab, 'command line builds use' is set to Debug. In previous versions of Xcode, debug/release build options were available from the drop down menu on the main IDE toolbar - same location that I'm choosing 'iPhone 4.3 Simulator'.

推荐答案

他们稍微改变了Xcode 4中的构建行为,因此构建不再以与以前相同的目录结尾.

They changed the build behavior in Xcode 4 a little, so builds do not longer end up in the same directories as before.

您可以在Xcode 4首选项(请注意 Derived Data 设置)中解决此问题:

You can fix this in the Xcode 4 preferences (notice the Derived Data setting):

这篇关于构建输出将流向何方?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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