Problem integrating Skark-SDK into Xcode 7.2 Project

Hello

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
Michael

You are not missing anything. AFNetworking 3.x.x (important comm library which the cloud SDK depends upon) was released recently and unfortunately it broke compatibility with our existing code. I will be release Spark-SDK pod version 0.3.4 later today that’ll address this issue by force internal AFNetwork pod usage to 2.x.x.
After 0.3.4 is release make sure to run pod update and try again - it shall fix this issue.

Thanks for posting and sorry about the issue

A post was merged into an existing topic: iOS xCode 7.3 swift spark-sdk integration