Xcode 4 - last build phase "copy files" gets build stuck

I really like the new XCode, but I'm having one really annoying issue. When I try to add new build phase "Copy Files" after every other build phases, which copies the final product component to some directory, the build just gets stuck.

This is what I mean, try it yourself:
1. Create a new project - choose System Plug-In - Audio Unit effect. Name it as, let's say "Doo"
2. Open project target named as "Doo".
3. Add new build phase - Add Copy Files to the end of the list.
4. Press + and add Doo.component from the Products to the list.
5. Select "Absolute path" as a destination (in this case I'd like to have the component in Library/Audio/Plug-Ins/Components-directory).
6. Build.
-> build gets stuck
Build goes successful, if Doo.component is removed from the list.

This was working in XCode 3.x. And regarding to documents this is meant to be like "make install" phase in the end of the build, and should work.

Or, am I doing something wrong?

Macbook Pro 13"3, Mac OS X (10.6.6)

Posted on Mar 10, 2011 11:49 AM

Reply
4 replies

Mar 10, 2011 10:12 PM in response to Matti L

There is a separate ongoing forum for Xcode 4 discussions:

https://devforums.apple.com/community/xcode4 **Join the party!**

Topics
• iOS Development
Installation, Provisioning, Simulator, iPhone SDK 4

• Source Editing
Assistant, Code completion, Fix-it, Settings, Keyboard Shortcuts

• Interface Builder
Xcode integration, Code connections, Library, Inspectors

• Project Editing and Workspaces
Schemes, Configuration, Build settings, Complex projects

• Source Code Management
Version editor, Git, Subversion, Branching and merging

• Debugging
LLDB, Stack compression, GCD and Threads, Watch lists

• Instruments
System Trace, Time Profile, OpenGl, Allocations and Heap

• LLVM Compiler
Clang, LLVM-GCC, C++, STL and Boost, Optimization

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode 4 - last build phase "copy files" gets build stuck

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.