I get this error and people says it about missing frameworks but i can’t see I’m missing any.
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_Connection", referenced from:
objc-class-ref in SocketServer.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
It happens when i add this:
theServer = [[SocketServer alloc]init];
theServer.serverName = [NSString stringWithFormat:@"%@", username];
theServer.delegate = self;
What is there to try?
SocketServer is a class from a project from the book Apress Beginning iPhone Games Development
I can see from the book’s source code, that there is a related
Connectionclass that you are forgetting to link with:Add that class to your project and it should then link.