From 5d93ac58b37c7213d4ca0888f6e92cfd9208ee14 Mon Sep 17 00:00:00 2001 From: Ido Kleinman Date: Tue, 15 Dec 2015 16:11:06 -0800 Subject: [PATCH] fix pod spec for force AFNetworking pod 2.x.x --- .../xcshareddata/xcschemes/Spark-SDK.xcscheme | 2 +- Example/Pods/Spark-SDK-Tests.m | 44 ------------------- Spark-SDK.podspec | 2 +- 3 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 Example/Pods/Spark-SDK-Tests.m diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Spark-SDK.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Spark-SDK.xcscheme index e34a241..72b16aa 100644 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Spark-SDK.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Spark-SDK.xcscheme @@ -14,7 +14,7 @@ buildForArchiving = "YES"> diff --git a/Example/Pods/Spark-SDK-Tests.m b/Example/Pods/Spark-SDK-Tests.m deleted file mode 100644 index 8ee301b..0000000 --- a/Example/Pods/Spark-SDK-Tests.m +++ /dev/null @@ -1,44 +0,0 @@ -// -// Spark-SDK-Tests.m -// Pods -// -// Created by Ido on 7/15/15. -// -// - -#import -#import -#import "Spark-SDK.h" - -@interface Spark_SDK_Tests : XCTestCase - -@end - -@implementation Spark_SDK_Tests - -- (void)setUp { - [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the ] - [[SparkCloud sharedInstance] loginWithUser:@"testuser@particle.io" password:@"testuserpass" completion:^(NSError *error) { - // - }]; -} - -- (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample { - // This is an example of a functional test case. - XCTAssert(YES, @"Pass"); -} - -- (void)testPerformanceExample { - // This is an example of a performance test case. - [self measureBlock:^{ - // Put the code you want to measure the time of here. - }]; -} - -@end diff --git a/Spark-SDK.podspec b/Spark-SDK.podspec index bee4ec0..394cb30 100644 --- a/Spark-SDK.podspec +++ b/Spark-SDK.podspec @@ -38,7 +38,7 @@ Pod::Spec.new do |s| s.subspec 'SDK' do |ss| ss.source_files = 'Pod/Classes/SDK/Spark*.{h,m}' - ss.dependency 'AFNetworking' + ss.dependency 'AFNetworking', '< 3.0.0' ss.dependency 'Spark-SDK/Helpers' end