I just started to integrate the Spark SDK into a custom iOS app and I’m stuck now in the project setup.
Following the descriptions on: https://docs.particle.io/reference/ios/ I’m now missing an import from AFNetworking:
I got the following error during compilation of my project:
…HomeCtrl/Pods/Spark-SDK/Pod/Classes/SDK/SparkAccessToken.m:11:9: ‘AFNetworking/AFHTTPRequestOperationManager.h’ file not found
This is how my Podfile looks like:
# Uncomment this line to define a global platform for your project # platform :ios, '8.0' # Uncomment this line if you're using Swift use_frameworks! target 'HomeCtrl' do pod "SparkSetup" pod "Spark-SDK" end target 'HomeCtrlTests' do end target 'HomeCtrlUITests' do end
Am I missing something?
Thanks for any hint