How can I compile cloud bomber

Official forum for the Chipmunk2D Physics Library.
ganesha
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm
Contact:

Re: How can I compile cloud bomber

Post by ganesha »

I use the latest 4.5.2 (4G2008a)

Problem solved: I removed all spaces in the build path and it worked, e.g. iPhone Development -> iPhone_Development
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: How can I compile cloud bomber

Post by slembcke »

Arg. It *sounds* like DERIVED_FILE_DIR is still the correct env var according to the Xcode docs. The thing is that the output path is fixed in the build rule, so it means that the DERIVED_FILE_DIR variable is changing between when the rule is run and then later when the copy phase is called. I have no idea why that would be... I can't reproduce the issue either.

I guess the simple workaround is to move the files to the directory where Xcode is expecting them by hand and run the build again.

I like using that build rule because it saves me time being able to use the raw psd files in the project without having to export them as png each time I save. Dealing with support issues is decidedly not saving my time though. -_- It seems to work like 99% of the time just fine as I've only had one other person tell me they had issues with it. Never got anywhere with them though.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: How can I compile cloud bomber

Post by slembcke »

Oooh! I didn't see the thing about spaces... Spaces are really like the bane of shell scripting. I really should throw one in my paths just to force myself to test for it.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: How can I compile cloud bomber

Post by slembcke »

Ok. I fixed the one spot I missed putting quotes around my shell arguments. -_-

I put a space in my programming projects folder path now... This is the sort of thing that comes up like once a year and wastes a few hours of time. Blah.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests