• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Possible Xcode 2.1 bug when setting DEPLOYMENT_LOCATION build option with path with a space in folder name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible Xcode 2.1 bug when setting DEPLOYMENT_LOCATION build option with path with a space in folder name


  • Subject: Possible Xcode 2.1 bug when setting DEPLOYMENT_LOCATION build option with path with a space in folder name
  • From: Derek Bolli <email@hidden>
  • Date: Mon, 19 Sep 2005 10:30:49 +1000

Hi All,

I believe I have found a bug which occurs when the following build options are modified in
the Project Info settings in Xcode 2.1

DEPLOYMENT_LOCATION = YES
INSTALL_PATH = .

The path to the current build folder is /Users/dbolli/dev/Xcode src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/build and this produces the following link command

    /usr/bin/g++-4.0 -o "/Users/dbolli/dev/Xcode src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/build/UninstalledProducts/Collision_Demo.app/Contents/MacOS/Collision_Demo" "-L/Users/dbolli/dev/Xcode src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/build" -L../../../G3DOSX/build -L/Users/dbolli/dev/Xcode -Lsrc/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/../../../G3DOSX/build/Development "-F/Users/dbolli/dev/Xcode src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/build" -F/Users/dbolli/Library/Frameworks -F/Users/dbolli/Library/Frameworks -filelist "/Users/dbolli/dev/Xcode src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/build/Collision_Demo.build/Development/Collision_Demo.build/Objects-normal/ppc/Collision_Demo.LinkFileList" -lGLG3D -lG3D -framework SDL -framework Cocoa -framework OpenGL -arch ppc -prebind -lz

and during the build, the following link errors occur

/usr/bin/ld: warning -L: directory name (/Users/dbolli/dev/Xcode) does not exist
/usr/bin/ld: warning -L: directory name (src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/../../../G3DOSX/build/Development) does not exist
/usr/bin/ld: can't locate file for: -lGLG3D
collect2: ld returned 1 exit status

The gcc command includes the following options which are incorrect

-L/Users/dbolli/dev/Xcode -Lsrc/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/../../../G3DOSX/build/Development "

This is specified correctly elsewhere in the link command 

"-L/Users/dbolli/dev/Xcode src/g3d-src-6_07b3/cpp/source/demos/Collision_Demo/build"

The frustrating thing is that when I change the Project settings back to their defaults, the
same error occurs and the only fix is to restore a copy of the Xcode project file with
default build settings which compiles successfully.

Although this bug would not occur if there were no spaces in the folder names in the
path, I still feel that it is a bug which is worth reporting.

Any advice?

Thanks,


Derek Bolli, Head Hacker,
Bolli World HQ Computing Facility,    
Hornsby NSW 2077
Sydney, Australia    email: email@hidden (home)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Codewarrior vs XCode
  • Next by Date: Disabling creation of Development / Deployment / Debug folders in Xcode 2.1 builds
  • Previous by thread: Xcode 2.1 & Subversion broken workaround
  • Next by thread: Disabling creation of Development / Deployment / Debug folders in Xcode 2.1 builds
  • Index(es):
    • Date
    • Thread