Maze example not working

Hello guys,


I'm trying to run the Maze example, but it isn`t allocating the graph GKGridGraph.


The line with problem is the one below


GKGridGraph *graph = [GKGridGraph graphFromGridStartingAt:(vector_int2){0, 0} width:AAPLMazeWidth height:AAPLMazeHeight diagonalsAllowed:NO];


(file AAPLLevel.m, funcion init).


I've tried to change the way it allocates (using [[GKGridGraph alloc] initFromGridStartingAt ...], but did't work either.


Thanks.

Answered by briankc in 10287022

Gameplaykit requires El Capitan.

Just giving more info.


The project Maze-iOS does run (after a reboot, don't know why). The OS X version does not. I haven't updated my OS to the beta 10.11. Could this be the problem or the sdk on xCode 7 should do the work?


Tks.

Accepted Answer

Gameplaykit requires El Capitan.

Thanks. I'll use the iOS example then.

Maze example not working
 
 
Q