Where is build output going?

Deadly 提交于 2019-12-04 05:22:10

问题


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?

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

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'.


回答1:


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

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



来源:https://stackoverflow.com/questions/5341496/where-is-build-output-going

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