Currently working on a game, and i've gotten to the point where i need to implement multiplayer functionality. I'm trying to load in the GameSparks SDK into my project but am unable to properly import the module and i'm not quite sure whats going on.
The SDK is written in Objective C, but my project is in Swift. They say all you need to do is to import the files into your project, so I installed it with cocoapods and copied the source files over into my project, my files look like this:
In my bridging header, i have
#ifndef SuperSpace_Bridging_Header_h
#define SuperSpace_Bridging_Header_h
#import <GS.h>
#import <GSAPI.h>
#endif /* SuperSpace_Bridging_Header_h */
and get no errors, everything compiles fine, however I have no access to the GS
module that appears to be the core of the GameSparks SDK.
Has anybody had any luck with this SDK in iOS before? Maybe there is something about bridging between Objective-C and Swift that i'm not understanding?