I followed your instructions to build using terminal; I still got the same error. Following is what the shell gave back to me:
paul-denlingers-macbook-pro:cocoaNotepad pdenlinger$ xcodebuild -configuration Debug
=== BUILDING NATIVE TARGET cocoaNotepad OF PROJECT cocoaNotepad WITH CONFIGURATION Debug ===
Checking Dependencies...
Processing /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Info.plist Info.plist
mkdir /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents
cd /Developer/Projects/cocoaNotepad
<com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/PkgInfo -expandbuildsettings -o /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Info.plist
CopyStringsFile /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Resources/English.lproj/InfoPlist.strings English.lproj/InfoPlist.strings
mkdir /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Resources/English.lproj
cd /Developer/Projects/cocoaNotepad
/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Resources/English.lproj
error: can't exec '/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings' (No such file or directory)
CompileXIB /Developer/Projects/cocoaNotepad/English.lproj/MainMenu.xib
cd /Developer/Projects/cocoaNotepad
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Resources/English.lproj/MainMenu.nib /Developer/Projects/cocoaNotepad/English.lproj/MainMenu.xib
ProcessPCH /var/folders/Ln/LnNgHph7ENyYRuETTF1uLE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/cocoaNotepad_Prefix-gfezrjtwinqbwmapylppsyfkcebk/cocoaNotepad_Prefix.pch.gch cocoaNotepad_Prefix.pch normal i386 objective-c com.apple.compilers.gcc.4_0
cd /Developer/Projects/cocoaNotepad
/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-generated-files.hmap -I/Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-own-target-headers.hmap -I/Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-all-target-headers.hmap -iquote /Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-project-headers.hmap -F/Developer/Projects/cocoaNotepad/build/Debug -I/Developer/Projects/cocoaNotepad/build/Debug/include -I/Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/DerivedSources -c /Developer/Projects/cocoaNotepad/cocoaNotepad_Prefix.pch -o /var/folders/Ln/LnNgHph7ENyYRuETTF1uLE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/cocoaNotepad_Prefix-gfezrjtwinqbwmapylppsyfkcebk/cocoaNotepad_Prefix.pch.gch
CompileC build/cocoaNotepad.build/Debug/cocoaNotepad.build/Objects-normal/i386/main.o /Developer/Projects/cocoaNotepad/main.m normal i386 objective-c com.apple.compilers.gcc.4_0
cd /Developer/Projects/cocoaNotepad
/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-generated-files.hmap -I/Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-own-target-headers.hmap -I/Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-all-target-headers.hmap -iquote /Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/cocoaNotepad-project-headers.hmap -F/Developer/Projects/cocoaNotepad/build/Debug -I/Developer/Projects/cocoaNotepad/build/Debug/include -I/Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/DerivedSources -include /var/folders/Ln/LnNgHph7ENyYRuETTF1uLE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/cocoaNotepad_Prefix-gfezrjtwinqbwmapylppsyfkcebk/cocoaNotepad_Prefix.pch -c /Developer/Projects/cocoaNotepad/main.m -o /Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/Objects-normal/i386/main.o
Ld /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/MacOS/cocoaNotepad normal i386
mkdir /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/MacOS
cd /Developer/Projects/cocoaNotepad
/Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Developer/Projects/cocoaNotepad/build/Debug -F/Developer/Projects/cocoaNotepad/build/Debug -filelist /Developer/Projects/cocoaNotepad/build/cocoaNotepad.build/Debug/cocoaNotepad.build/Objects-normal/i386/cocoaNotepad.LinkFileList -mmacosx-version-min=10.5 -framework Cocoa -o /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/MacOS/cocoaNotepad
** BUILD FAILED **
The following build commands failed:
cocoaNotepad:
CopyStringsFile /Developer/Projects/cocoaNotepad/build/Debug/cocoaNotepad.app/Contents/Resources/English.lproj/InfoPlist.strings English.lproj/InfoPlist.strings
(1 failure)
On Sat, Jul 19, 2008 at 1:24 PM, Jim Fridlund <
email@hidden> wrote:
On Jul 19, 2008, at 1:09 PM, Paul Denlinger wrote:
I have installed Xcode on the system drive; sorry I was unclear. At first I tried building the project on a separate partition (HD2) but when I got problems, I tried to do build the same project build on the same partition Xcode sits on. I got the same error.
I have tried to get to copystrings in the terminal; here is the error message I get:
paul-denlingers-macbook-pro:Projects pdenlinger$ cd /cocoaNotepad.app/Contents/Resources.lproj/InfoPlist.strings
-bash: cd: /cocoaNotepad.app/Contents/Resources.lproj/InfoPlist.strings: No such file or directory
This is the same message as I'm getting in Xcode. For some reason, InfoPlist.strings is not getting built.
Paul Denlinger
Try building the project using the command line version of Xcode. If this works, then your Xcode install should be ok. For example, I have a Cocoa example project in the Test directory.
jim@nomad[~]$ cd Test
where Test is the project's top directory.
jim@nomad[~/Test]$ xcodebuild -configuration Debug
=== BUILDING NATIVE TARGET Test OF PROJECT Test WITH CONFIGURATION Debug ===
Checking Dependencies...
Processing /Users/jim/Test/build/Debug/Test.app/Contents/Info.plist Info.plist
mkdir /Users/jim/Test/build/Debug/Test.app/Contents
cd /Users/jim/Test
<com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Users/jim/Test/build/Debug/Test.app/Contents/PkgInfo -expandbuildsettings -o /Users/jim/Test/build/Debug/Test.app/Contents/Info.plist
CopyStringsFile /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj/InfoPlist.strings English.lproj/InfoPlist.strings
mkdir /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj
cd /Users/jim/Test
/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj
CompileXIB /Users/jim/Test/English.lproj/MainMenu.xib
cd /Users/jim/Test
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj/MainMenu.nib /Users/jim/Test/English.lproj/MainMenu.xib
CompileC build/Test.build/Debug/Test.build/Objects-normal/i386/main.o /Users/jim/Test/main.m normal i386 objective-c com.apple.compilers.gcc.4_0
cd /Users/jim/Test
/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/jim/Test/build/Test.build/Debug/Test.build/Test-generated-files.hmap -I/Users/jim/Test/build/Test.build/Debug/Test.build/Test-own-target-headers.hmap -I/Users/jim/Test/build/Test.build/Debug/Test.build/Test-all-target-headers.hmap -iquote /Users/jim/Test/build/Test.build/Debug/Test.build/Test-project-headers.hmap -F/Users/jim/Test/build/Debug -I/Users/jim/Test/build/Debug/include -I/Users/jim/Test/build/Test.build/Debug/Test.build/DerivedSources -include /var/folders/Qr/QruusdGk20iPx8gic4UYaE+++yU/-Caches-/com.apple.Xcode.1000/SharedPrecompiledHeaders/Test_Prefix-fkhtuusihrrqbsgmnzduhvoimhdo/Test_Prefix.pch -c /Users/jim/Test/main.m -o /Users/jim/Test/build/Test.build/Debug/Test.build/Objects-normal/i386/main.o
Ld /Users/jim/Test/build/Debug/Test.app/Contents/MacOS/Test normal i386
mkdir /Users/jim/Test/build/Debug/Test.app/Contents/MacOS
cd /Users/jim/Test
/Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/jim/Test/build/Debug -F/Users/jim/Test/build/Debug -filelist /Users/jim/Test/build/Test.build/Debug/Test.build/Objects-normal/i386/Test.LinkFileList -mmacosx-version-min=10.5 -framework Cocoa -o /Users/jim/Test/build/Debug/Test.app/Contents/MacOS/Test
Touch /Users/jim/Test/build/Debug/Test.app
cd /Users/jim/Test
/usr/bin/touch -c /Users/jim/Test/build/Debug/Test.app
** BUILD SUCCEEDED **
The Cocoa executable should be in build/Debug/<App.app>/Contents/MacOS/<App>.
--
Paul Denlinger
"Risk is about seeing opportunities when others see challenges."
Skype: pdenlingercbs
Profile:
http://www.linkedin.com/in/pauldenlinger
Visit my blog at
www.chinavortex.comChina | Business | Economy | Internet|Technology
DISCLAIMER:
The content of this email and any attachment may contain proprietary and confidential information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then deleting it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.