From: Samuel Sam Date: 2010-09-25T17:23:57+09:00 Subject: error "copyplist failed with exit code 127" Morning everyone, I'm not a ruby developer (using XCode) but facing an error which is coming from the ruby file "copyplist " locate under : /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copylyst The entire error message is : [code] sh: plutil: command not found Command /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist failed with exit code 127 [/code] If needed I can provide you with the whole copylist code but here's the lines that call "plutil" word: [code] system('plutil -s -lint -- "' + srcPath + '"') ... system('plutil -convert "' + OPTIONS[:OutputFormat] + '" -s -o "' + OPTIONS[:OutputDir] + '/' + File.basename(srcPath) + '" -- "' + srcPath + '"') [/code] My current understanding of this error is : - The ruby file "copylist" tries to access a Unix script "plutil"but can't find it. That "plutil" file is located under: /usr/bin which apparently is in ruby path by default. I tried to add the line [code] Dir.chdir("/usr/bin") [/code] in "copylist" just before the two lines stated upper but still getting the same error. I also tried with "./plutil" which failed miserably providing an other error. I hope that one of you can help me. Thanks in advance. -- Posted via http://www.ruby-forum.com/.