From e0a671ba8cee70de127cb15bc9290cfd4b732f74 Mon Sep 17 00:00:00 2001 From: Ido Kleinman Date: Wed, 2 Mar 2016 17:12:09 -0800 Subject: [PATCH] fix issue in podspec (bridging header was not included in pod sources) --- .../ParticleSDK.xcodeproj/project.pbxproj | 4 ---- Example/ParticleSDK/Spark-SDK-Bridging-Header.h | 15 --------------- Spark-SDK.podspec | 2 +- 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 Example/ParticleSDK/Spark-SDK-Bridging-Header.h diff --git a/Example/ParticleSDK/ParticleSDK.xcodeproj/project.pbxproj b/Example/ParticleSDK/ParticleSDK.xcodeproj/project.pbxproj index 805a76e..e37652c 100644 --- a/Example/ParticleSDK/ParticleSDK.xcodeproj/project.pbxproj +++ b/Example/ParticleSDK/ParticleSDK.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 5005A3DC1C87AF50007D7015 /* Spark-SDK-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = 5005A3DB1C87AF18007D7015 /* Spark-SDK-Bridging-Header.h */; }; 50F6507F1C85423D0065F02F /* ParticleSDK.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F6507E1C85423D0065F02F /* ParticleSDK.h */; settings = {ATTRIBUTES = (Public, ); }; }; 50F650861C85423D0065F02F /* ParticleSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50F6507B1C85423D0065F02F /* ParticleSDK.framework */; }; 50F6508B1C85423D0065F02F /* ParticleSDKTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 50F6508A1C85423D0065F02F /* ParticleSDKTests.m */; }; @@ -88,7 +87,6 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 5005A3DB1C87AF18007D7015 /* Spark-SDK-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Spark-SDK-Bridging-Header.h"; path = "../Spark-SDK-Bridging-Header.h"; sourceTree = ""; }; 50F6507B1C85423D0065F02F /* ParticleSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ParticleSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50F6507E1C85423D0065F02F /* ParticleSDK.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ParticleSDK.h; sourceTree = ""; }; 50F650801C85423D0065F02F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -157,7 +155,6 @@ 50F6509A1C8542B30065F02F /* Helpers */, 50F650A51C8542B30065F02F /* SDK */, 50F6507E1C85423D0065F02F /* ParticleSDK.h */, - 5005A3DB1C87AF18007D7015 /* Spark-SDK-Bridging-Header.h */, 50F650801C85423D0065F02F /* Info.plist */, ); path = ParticleSDK; @@ -230,7 +227,6 @@ 50F650B11C8542B30065F02F /* SparkEvent.h in Headers */, 50F650B31C8542B30065F02F /* SparkUser.h in Headers */, 50F650AF1C8542B30065F02F /* SparkDevice.h in Headers */, - 5005A3DC1C87AF50007D7015 /* Spark-SDK-Bridging-Header.h in Headers */, 50F650A91C8542B30065F02F /* KeychainItemWrapper.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/Example/ParticleSDK/Spark-SDK-Bridging-Header.h b/Example/ParticleSDK/Spark-SDK-Bridging-Header.h deleted file mode 100644 index 48b2cfb..0000000 --- a/Example/ParticleSDK/Spark-SDK-Bridging-Header.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Spark-SDK-Bridging-Header.h -// ParticleSDK -// -// Created by Ido Kleinman on 3/2/16. -// Copyright © 2016 Particle. All rights reserved. -// - -#ifndef Spark_SDK_Bridging_Header_h -#define Spark_SDK_Bridging_Header_h - -#import -#import - -#endif /* Spark_SDK_Bridging_Header_h */ diff --git a/Spark-SDK.podspec b/Spark-SDK.podspec index 0cc8d20..c469167 100644 --- a/Spark-SDK.podspec +++ b/Spark-SDK.podspec @@ -29,7 +29,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.public_header_files = 'Pod/Classes/*.h' - s.source_files = 'Pod/Classes/Spark-SDK.h' + s.source_files = 'Pod/Classes/*.h' s.subspec 'Helpers' do |ss| ss.source_files = 'Pod/Classes/Helpers/*.{h,m}'