Game Development Community

iTGB xcode error, project crashes after 10 secs

by Matthew Harris · in iTorque 2D · 05/29/2009 (7:25 pm) · 3 replies

Hey, I am kinda frustrated..

Everything was going good. Then today all of the sudden when I open iTGB (the torque game builder build) it loads but then crashes within 10 secs.

I get this error..

internal error /SoureCache/DevToolBase/DevToolBase-1148/pbindex/PBXCStringStorage.m line 441, Method addCString (bad string offset (not at beginning of string))

I am not sure what it means, and I can't real debug it because i have to quit when it comes up.

Again this is for the torque game builder part of itgb.

I reinstalled xcode and even replaced the project file. I dont know what to do.

- Matt

#1
05/30/2009 (2:08 pm)
Did the cleaning work, or are you seeing this problem again?
#2
05/30/2009 (3:05 pm)
Cleaning from the build menu didn't work. I talked to orb on the irc. I had to delete the project files manually, (where it builds to) and delete my xcode cache. I also reinstalled xcode to be on the save side and its fine.


#3
05/30/2009 (3:11 pm)
Yep, that was me :)

I *think* just removing the entire build directory should do the trick, because "clean all" doesn't rebuild the index. Not too much of a hassle, but in case you don't want to go through recompiling, rebuilding the project index from the command line is actually possible.

Open a terminal, use the "cd" command to change to your directory (ls to show contents). Then use this command:

xcodeindex -project yourproject.xcodeproj

In theory, that should fix everything. Making a folder action to automate this might be possible, so you don't need the terminal. Or just install SIMBL+Visor so you always have a dropdown terminal ready :)