Hi all. I'm having a perplexing problem, where device builds issue a bunch of warnings about directories not being found, but it's because the spaces in the volume name are not being handled correctly. This only happens in device builds but not simulator builds. If you look at the link commands, sure enough, you see that the string for the device is formatted incorrectly. The difference is fifth line, where there's an extra -L& before each word of the volume name:
DEVICE: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk "-L/Volumes/software & work/projects/MyApp/app/MyApp/build/Debug-iphoneos" "-L/Volumes/software & work/projects/MyApp/app/MyApp/libs" -L"/Volumes/software -L& -Lwork/projects/MyApp/app/MyApp/libs" "-L/Volumes/software & work/projects/MyApp/app/MyApp/libs" "-F/Volumes/software & work/projects/MyApp/app/MyApp/build/Debug-iphoneos" -filelist "/Volumes/software & work/projects/MyApp/app/MyApp/build/MyApp.build/Debug-iphoneos/MyApp - device.build/Objects-normal/armv6/MyApp.LinkFileList" -dead_strip -miphoneos-version-min=4.2 -framework Foundation -framework CoreLocation -framework CoreGraphics -framework UIKit -lboost_system_iosdevice -o "/Volumes/software & work/projects/MyApp/app/MyApp/build/MyApp.build/Debug-iphoneos/MyApp - device.build/Objects-normal/armv6/MyApp" SIM: /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk "-L/Volumes/software & work/projects/MyApp/app/MyApp/build/Debug-iphonesimulator" "-L/Volumes/software & work/projects/MyApp/app/MyApp/libs" "-L/Volumes/software & work/projects/MyApp/app/MyApp/libs" "-F/Volumes/software & work/projects/MyApp/app/MyApp/build/Debug-iphonesimulator" -filelist "/Volumes/software & work/projects/MyApp/app/MyApp/build/MyApp.build/Debug-iphonesimulator/MyApp - simulator.build/Objects-normal/i386/MyApp.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework CoreLocation -framework CoreGraphics -framework UIKit -lboost_system_iossimulator -o "/Volumes/software & work/projects/MyApp/app/MyApp/build/Debug-iphonesimulator/MyApp.app/MyApp" The resulting complaints are: ld: warning: directory '"/Volumes/software' following -L not found ld: warning: directory '&' following -L not found ld: warning: directory 'work/projects/MyApp/app/MyApp/libs"' following -L not found Has anyone else encountered this? Thanks! Gavin _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
