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?

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

Similar Messages

  • My Time Capsule has stopped backing up.  I have an Apple Time Capsule which backs up by wireless. For the last 3 days it has not backed up. I get this message: "The backup was not performed because an error occurred while copying files to the backup disk.

    My Time Capsule has stopped backing up.
    I have an Apple Time Capsule which backs up by wireless. For the last 3 days it has not backed up. I get this message:
    "The backup was not performed because an error occurred while copying files to the backup disk."
    I have gone into Mac Help and followed this down to stage 4:
    under shared it lists my time capsule and my husband's iMac - both use the time machine but we have switched his off temporarily.  Clicking on my Time capsule I get "Connected" and "Sharepoint" - I didn't have to enter connect or password
    I don't understand stage 5: how and where do I select the disk or volume that contains Time Machine backups ?  How do I know which it is? My disk utility lists 160.04 TOSHIBA MK... with sub-heading Macintosh HD.  It also lists (with a "CD" icon) HL-DT-ST DVDRW GS22N
    Under stage 6, how and where do I Locate your backup ? I try dragging my Time capsule from Finder to the Disk Utility side panel but it won't go.  What is my computer's name?
    Please someone help!  I'm completely stumped.
    Thanks,
    Maggie
    Mac Help says:
    If you back up to a Time Capsule or network disk:
    Open the Time Machine pane of System Preferences, and slide the switch to Off.
    Open Time Machine preferences
    Open Disk Utility, which is in the Utilities folder in the Applications folder. 
    Open Disk Utility
    Make sure the Time Capsule or network disk is turned on and available. 
    Open a Finder window, select your Time Capsule or network disk in the Shared section of the sidebar, and click Connect. If necessary, enter your user name and password. 
    On the Time Capsule or network disk, select the disk or volume that contains Time Machine backups. Depending on how your Time Capsule is set up, there may be one or more disks or volumes. 
    Locate your backup, and drag it to the Disk Utility sidebar.You can identify your backup by looking for your computer’s name in the backup’s filename.

    Hello,
    Thanks to the great Pondini...
    http://pondini.org/TM/C3.html

  • When trying to 'Consolidate Files' via iTunes I get the message "Copying files failed. The name was invalid or too long."

    I am trying to copy my entire iTunes library and everything in it from my PC Desktop to my PC Laptop using the "External Drive" method as shown on the Apple website. On Part 1 (5) I am told to consolidate files. When attempting to do this I get the message "Copying files failed. The file name was invalid or too long."
    How do I resolve this?

    I have just been having this problem and it has been driving me mad.   The error message doesn't tell you which file is causing the problem so you can't fix it and it leaves your libray in a state of limbo with some files copied into the new location and some in the old location.  After many hours I found a surprisingly quick and simple solution.
    1) in iTune create a smart play list that includes everything that was added before tomorrows date.  This will include everything.
    2) Right click this playlist and export it as a text file to produce a tab delimited file.
    3) Import this into a spread sheet, or just view it in a text editor with line wrap turned off.  What you are interested in is the last column (or end of the line in a text editor).  This gives you the path of the file associated with each entry in the library. 
    The path of the files that have already been copied successfully will start with the new location for your media files you specified.  Scroll thru the rows until you get a blank path.  If you start getting paths starting with the old Media file location then you went to far and start scrolling back.
    The row with the blank path was the file that failed.  Move back to the start of the row to find out more about it.  In my case it was a podcast with a very long name. I just deleted that podcast from iTunes.
    4) Restart the consolidation by choosing File, Library as you did before and the process starts again where it left off.
    5) If it fails again on another file just repeat the process

  • How to get last Build date of a dll in the real time target

    Info On My Project    
       I am working on LabWindows CVI 12.0 for development . This project is a real time application for hardware, which is having Phar Lap ETS as RTOS...  
    I am facing some problems while checking Build date of my Application file( .dll)
    I have tried to use GetFileDate API. But it is not supporting for realtime Target..
    So i have tried __DATE__ macro.. That also having some problems..
    How to get last Build date of a dll from the real time target  ??
    Please Help to solve this....
    Thanks
    Vaishakh A  K

    Please reply if any one have suggestion...

  • Copy Files -  Building an Installer

    Hi there team,
    I am trying to build a downloader of sorts but am getting
    hung up on the ... put fxObj.fx_FileCopyProgress("Content") ...
    line of code. Idealy I would like to copy files from a CD, save
    them to a Content folder created on the Mac HD and have a progress
    bar running as well. I'm using the code below but keep getting
    errors.
    Is there a guru among you who can sort me out.
    currently the error message =
    Handler not found in object
    #fx_FileCopyProgress
    If I change the line to ... fxObj.fx_FileCopy("CDfile") ... I
    get the error message =
    Wrong number of parameters
    fxObj.fx_FileCopy("CDfile")
    I'm a Lingo novice really and quite lost. I'd appreciate any
    help.

    > currently the error message =
    > Handler not found in object
    > #fx_FileCopyProgress
    FileXtra4 doesn't have a method named thus. Perhaps you're
    confusing it
    with Buddy API?
    > If I change the line to ... fxObj.fx_FileCopy("CDfile")
    ... I get the error
    > message =
    > Wrong number of parameters
    > fxObj.fx_FileCopy("CDfile")
    As well as CDFile being (perhaps) a variable, fx_FileCopy
    requires 2
    parameters - the source file and the destination (including
    filename)
    you are trying to copy it to

  • Build error Caught IOException when trying to copy files

    Hello,
    Sometimes when I build a BPM project in NWDS I get this error,
    Caught IOException "C:\NWDSWS.jdi\LocalDevelopment\MINSUR_BPM\demo.com\bpm_hrsolpos_v2\_comp\gen\default\public\def_cmp\lib\moin\demo.combpm_hrsolpos_v2def_cmp.zip (the process doesn't have acces to the archive because it's been used by another process)" when trying to copy files from "C:\NWDSWS.jdi\LocalDevelopment\t2\CAC172530F2EFDDCD642AFD09DBA1782\default\" to "C:\NWDSWS.jdi\LocalDevelopment\COMP_BPM\demo.com\bpm_hrsolpos_v2\_comp\gen\default\"
    Anyone knows how to solve this?
    Regards
    SU

    Hi
    I had the same problem.
    Just if other get the same issue
    I solved it by logging of the computer with NWDS and logon again.
    Daniel

  • Moving library to external hard drive and get the error "Copying files failed. The disk could not be read from or written to"

    Hello,
    I'm moving my library to an external hard drive.
    I've made sure to use the 'Keep iTunes Media Folder Organized' option when pointing to the new library location.
    I select 'File'->'Library'->'Organize Library', I select to 'Consolidate Files', click 'OK' and get ther error message "Copying files failed. The disk could not be read from or written to".
    I've read elsewhere that there may be a corrupted file that I need to sequester somehow and perhaps add it back however I'm not certain how I can locate that file because the status window doesn't indicate which file it's attempting to transfer when the error appears.
    Any tips?
    Thank you,
    Greg H
    iTunes 10.6.3

    OK I figured it out!
    It was a dodgy file....I sorted the file folders by date, and as it turned out within the "compilations" folder there was a CD where only about half the tracks seemed to have been copied over. Could not have identified this simply from the time indicated on the finder folder sort, because there were several CDs copied over in the that same minute.
    I went back to the original itunes folder, deleted all the files from that CD in itunes, then also deleted all those files from the original disk and the target disk.
    Tried the "consolidate library" again, and it completed nicely. 200megs of music and videos.
    Very happy to solve this problem after 3 weeks.

  • I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    BUMP
    Yes, I just get that message. I don't see how I could investigate this problem.
    I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
    In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
    Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
    Can anybody help me?

  • When I try to copy files from my computer (just pics) to my iPhone's media folder via Finder under 10.7, I get this error...

    I'm using MacFuse to connect via Finder. It worked before, even on 10.7. But since I cannected th eiPhone to my Windows 7 dual boot partition, now it won't work! Maybe it was just a coincidence, not sure. Just returns this error:
    "The operation can’t be completed because an unexpected error occurred (error code -8003)."
    I get this one when I try to copy files OFF of the iPhone:
    "The operation can’t be completed because an unexpected error occurred (error code -8072)."
    Sounds like a permissions error to me. So I fixed permissions on my Mac with disc utility, but same problem. Then chmod with terminal the media folder. Did nothing. So I can't change permissions, and they're not broken. What could've happened? I'm like, locked out of my device!

    Repair Apple Application Support.
    START/CONTROL PANEL/PROGRAMS N FEATURES/highlight APPLE APPLICATION SUPPORT, then click the REPAIR button

  • I keep on getting this error when i try to copy files to my 2T Time Capsule, Please help im running out of space on my MacBook Pro.... The operation can't be completed because an unexpected error occurred (error code -50)

    I keep on getting this error when i try to copy files to my 2T Time Capsule, Please help im running out of space on my MacBook Pro....
    The operation can’t be completed because an unexpected error occurred (error code -50)

    I would get an external drive today and copy all your stuff off the TC.. forget trying to load more onto it. There is a good chance after 3years (A 2TB should be only about 2years tops), the disk or the TC itself is on the way out. Do it immediately. If TM is also failing to backup you need to recognise symtoms of impending doom.
    Unfortunately the error messages are archane and it is hard to discover their meaning.
    You also cannot verify a network drive.. you can verify the TM sparsebundle though so do that.
    A5. http://pondini.org/TM/Troubleshooting.html
    Reboot the whole network from off.. certainly if you run later OS it can simply lose the drive..
    If you still fail to be able to copy to the TC.. then get that external and copy off it. Tell us if you can do that.

  • What happened is that my internet connection was not good so i downloaded .ipsw file from a torrent but now i cannot get it to update my ipad because ios 5.0.1 is out i tried copying files to ipad updates in the itunes folder but no help

    what happened is that my internet connection was not good so i downloaded .ipsw file from a torrent but now i cannot get it to update my ipad because ios 5.0.1 is out i tried copying files to ipad updates in the itunes folder but it still asked me to download a 700mb software update
    plz help

    If you downloaded the correct version for your iPad model (and the different models have different ipsw files), then you should be able to navigate to it in iTunes by pressing and holding the shift key on Windows (command key on Mac) when clicking the Check For Updates button.
    Message was edited by: King_Penguin

  • External Hard drive getting errors when copying files?

    When I'm copying files to my hard drive I keep getting errors that the file is in use.  It was originally stopping at around the 167.8MB mark everytime when I try copying files over and giving me that error.  As this is a 1TB HDD I have no way of backing it up until I get to the US (currently studying in Australia).  So just wondering if anyone had ideas.
    Things I've done:
    - Tried using HDD over Firewire/USB and with other Macs still same errors
    - Tried Disk Utility and sometimes it I get no errors with the disk when I do Repair/Verify Disk or I get an error where the disk can't be unmounted
         - I get that error of unmounting when I normally unmount them and I have to unplug the HDD for it to be readable again.
    - I try copying files from it or to it, and sometimes files copy to my Computer entirely even 2GB ones, but other times it stops at random intervals, and it always   stops when copying files to the HDD that never works, usually stops at random times.  :\
    Any suggestions, help, or programs I can use for HDD repair would be great!
    Thanks a lot,
    godzillafan8686

    Wondering if I could bump this up a bit, still having problems with it.

  • 2006 iMac running 10.4 OS. I copied files to ext. drive. Put in 10.6 disc and did a clean install (format) of 10.6. Copied data from ext. drive back to Mac. I didn't get all the files. CAN I REVERT BACK TO THE 10.4 OS SO I CAN COPY MY DATA PROPERLY?

    2006 iMac running 10.4 OS. I copied files to ext. drive. Put in 10.6 disc and did a clean install (format) of 10.6. Copied data from ext. drive back to Mac. I didn't get all the files. CAN I REVERT BACK TO THE 10.4 OS SO I CAN COPY MY DATA PROPERLY?

    How did you copy files to the external drive, and what files did you copy? Did you drag and drop in the Finder? Use a clone utility? What files did not successfully copy?
    If you reformatted the drive as part of your install, then you won't be able to recover any files from the drive. Reverting back to (reinstalling) 10.4 will not help you.
    Do you have a complete-drive backup of your old system?
    Matt

  • Empty lines getting inserted while copying File data as chunks

    When I try to copy data from one file to other, Extra lines are getting inserted into the copied data.
    I am actually reading chunks of data from the first file and writing it to the other by using 'Byte' count to read.
    Whenever the no. of bytes read ends with the EOL, one extra line is getting inserted in the second file. 
    Consider the code snippet given below :
    If the first file content is like this :
    Then the copied file looks :
    The two files are also attached with this post.
    Please shre your suggestions to solve this issue
    Attachments:
    File to be copied.txt ‏1 KB
    Copied File.txt ‏1 KB

    Right click on your Read and Write text file functions and uncheck the Convert EOL option.
    You should also set the browse options for the 2nd file path to allow for new or existing files, and the file open to be for Open or Create.  Without those changes, you can't pick a new file and if you could, you'd get error when it tried to open the file that didn't exist.

  • I'm getting error "copying files failed. the required file is in use". How do I find the file?

    I've found this question is elswhere but no answers.  I'm trying to consolidate my library to an external hard drive since I'm pretty sure my current drive is about to fail.  The entire process has taken me days due to one error or another.  This is my most recent error and so far there is no way around it since it does not show me what file is in use.
    Help?

    I used "Carbon Copy Cloner" to copy my library from one external disk to another.
    The "library" consists of a bunch of files and folders (see links at end).  You don't need CCC to copy it, just drag the whole iTunes folder in your Home > Music from one drive to the other.
    I pointed my iTunes library to the new location under iTunes preferences.
    No, don't do it with preferences.  Once you have moved the folder as above, start iTunes with the option key held down and guide it to the library.itl file on the new drive.  This is assuming you have been using iTunes's default settings and haven't been managing your media yourself.
    I used iTunes to "Consolidate Library" to verify that all files had been moved.
    Okay, in doing that you have  moved just your media to the new drive but left all your other library files on the old drive.
    iTunes succesfully copied/re-attached a lot of files before giving me the error that the disk could not be read or written to.
    Try it with my method.
    I began to troubleshoot the hard drive by checking the cables and scanning for errors.
    This disk checked out fine.
    I identified the failure and subsequent error was due to corrupted files.
    I watched the consolidation process and was able to see which file it was trying to copy before it errored out.
    I deleted the corrupted file and restarted the process (I repeated this numerous times).
    When the process seemed to be just about over, I got the error "Copying files failed. The required file is in use."
    I'm sure this is likely another corrupted file, however, it happens so fast that I have no way to identify what file is causing the problem.  I tried making sure no other processes were running and no other windows or media players were open.  I also tried to look for an error log but was unsuccessful.
    Any ideas?
    Disk Utility will scan for a corrupt directory but I don't think it works on the file level if it is a single file that was corrupted.  I know I have seen Carbon Copy Cloner pick up on single file error when I had one sitting on a bad sector of a drive several years ago.  If you can identify the corrupt file this way then you will have to use a backup copy since it is unlikely it can be rescued.
    If you have Diskwarrior it has a file check utility.
    You have, of course, restarted your computer before doing all this, and keep other computer activity to a minimum (don't play music while copying the files and don't use other applications that coupld potential be trying to get access to your files)?
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847

Maybe you are looking for