I am trying to get IB to merge the files back together. I get to through all the steps, then when it goes to do the merge, it has an error saying it "cannot copy file". I had been working on an extra drive, so I tried on local to ensure it was not a permissions error due to the extra drive set-up. Nope. Same error.
Anyone else get this error, or know what might be causing it. Luckily I am just starting out, and my programs are easy enough that I can add code to the appropriate (only) header and M files as needed, by hand. But I can foresee a time that it is going to be a little harder than that.
nope, just the filemerge program. I was walking through a tutorial and it worked fine, until the second time I did a merge, and it failed. I made a new project, failed every time after the first.
Marking this as "solved" to get it off me "Unresolved list".
Still don't know why it won't work. It actually ended up being good for me to learn how to place all the object, methods etc... in the header and .m files by hand. helped in understanding what was going on.
Were you using the "-merge" flag? I actually have the following script:
#!/bin/sh # Get a hold of the last parameter. eval LAST=${$#} # Now run opendiff with the previous version and the current version. opendiff ${*} -merge "$LAST"
set up as my external merge program. It works much better than the default.
I wasn't running it at all, IB runs it after you click the merge button upon "write files" command. I didn't even know you could run it from the command line with extra arguments.
Sorry, I didn't notice you were talking about Interface Builder. I should have been paying more attention. Interface Builder is pretty flaky. Anything you can do without using Interface Builder, you should. I wouldn't trust it to merge changes into my files. Just continue to make changes in Xcode. At least the new Interface Builder is better at picking up those changes now.
yeah, I use it to make my first set when I have completely empty class files. After that , as I add objects to my windows and need more actions etc... I just do it by hand. Am really glad I learned that though.
Thanks again though, all additional information is welcomed!
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.
FileMerge error
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.