S
Samuel Sam
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 :
If needed I can provide you with the whole copylist code but here's the
lines that call "plutil" word:
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
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.
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
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
+ '"')
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")
"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.