First, the 106 build for Windows is out already. When will the 106 build for the Mac come out?
In my 'My Products' page, it shows that 'App Game Kit - Mac - v1054' was built in October.
Are they still working on the 106 build? Or is it being sidelined for now?
Next, I am also with XCode 4 on a Mac Mini and have/had the same problem while trying to compile a sample project: {agk}/Projects/Native/iOS/projects/Box2D - Box2D.
({agk} is the path to where I put the AppGameKit Mac stuff.)
Aside from the relative path issues, I'm 99.9999% sure that the issue is the spaces in the names of the directories (and probably some of the files).
A Mac's core OS is basically linux-like. Linux/Unix systems really do NOT like spaces in file/path names.
Here's what I tried:
A. Close XCode completely and restore the original project file/directory from the zip file (which XCode will have mangled).
B. open a terminal window and do the following
B.A. cd {agk}/Projects/Native/iOS
B.B. ln -s {agk}/IDE IDE
B.C. ln -s {agk}/IDE/platform platform
B.D. cd projects
B.E. mv 'Box2D - Box2D' Box2D_Box2D
B.F. cd Box2D_Box2D
B.G. mv 'Box2D - Box2D-Info.plist' Box2D_Box2D-Info.plist
B.H. mv 'Box2D - Box2D.xcodeproj' Box2D_Box2D.xcodeproj
C. edit project.pbproj (with anything BUT XCode)
C.A. replace all occurrances of 'Box2D - Box2D' with 'Box2D_Box2D'
C.B. find the line (about line #72) containing 'name = libAGKiOS.a; path = ../../../../../IDE/platform'
C.B. change '../../../../../IDE/platform' to '../../platform'
C.C. find the line (about line #212) with 'path = ../../../../../IDE/common/include;' and delete the first three '../'s
C.D. Remove the lines that start with:
"\"$(SRCROOT)/../../../IDE/
"\"$(SRCROOT)/../../../../IDE/
"\"$(SRCROOT)/../../../../../IDE/
C.E. Leaving the ones that start with:
"\"$(SRCROOT)/../../IDE/
C.F. save file and quit editor
D. Restart XCode with Box2D_Box2D.xcodeproj
E. It now compiles without an error.
F. But you still get the 'Undefined symbols for architecture i386:"AGK::agk::PlatformDestroyGL()"' error.
It looks like something just isn't in the built library, yet.
I hope the 106 build comes soon so that I can build and test in all my platforms.
Cheers,
Ancient Lady