I am trying to add GeoSpark to a legacy Objective C application. I had some minor difficulties with adding the pod, which were resolved by adding an empty Swift file to my app.
After installing the pod and updating my permissions and capabilities I went to AppDelegate.m and added
#import <GeoSpark/GeoSpark.h>
#import <GeoSpark/GeoSpark-Swift.h>
...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
...
[GeoSpark initialize:@"<my key>"];
...
}
However, even after cleaning and rebuilding my project, I continue to get Use of undeclared identifier 'GeoSpark'
on the initialize line. According to Xcode, the only GeoSpark objects available are the version number and version string. Do I need to do something else since the pod is in Swift and my code is Objective C or did I miss a step somewhere?