Posted: 29th Sep 2011 12:37
Hi @ all,

today I tried to compile the AppGameKit iOS player with XCode 4.0.2 and iOS Base SDK 4.3.

The provisioning stuff and so on was no problem. That works. But when I try to compile the player I get an error:
Set the target to my iPad and cleaned the project.

"


Before that, there're lines that says:

"


Has anybody got an error like that too and has an idea what I'm doing wrong here?
Posted: 29th Sep 2011 16:34
I was doing the same yesterday, I was able to compile it. Not sure if what I did is the right thing since I don't have experience with XCode, but here we go.

First, I use the codebase from the latest AppGameKit update, which I believe you're also doing.

I notice errors when trying to use cSprite.mm and also (Box2d-something, don't have it here right now). I just remove both from my project tree. They were in scrapper folder, but it seems they weren't necessary or they are been referenced somewhere else.

After fixing this error, the compiler was trying to link with libAGKiOS.a from Debug-iphoneos folder instead of the Debug where it is actually placed. For that, due to my dumbness, I actually renamed the folder accordingly.

I hope it helps.

Cheers


Paulo
Posted: 29th Sep 2011 16:58
Hi Paulo,

thank you very much! It works. I deleted the referenced files you mentioned and also found the "wrong" paths and corrected them. Now it works. Thanks a lot!
Posted: 9th Oct 2011 3:51
Thanks for the heads-up. I have emailed Paul to check this one out.