From 7ade3d0f2949f9882ccd46c413b1cb1fffe06344 Mon Sep 17 00:00:00 2001 From: Brandon Withrow Date: Fri, 27 Jan 2017 13:08:34 -0800 Subject: [PATCH] Update PodSpec --- .gitignore | 1 + .../Pods-lottie-ios_Example.xcscheme | 71 ---------------- .../xcschemes/Pods-lottie-ios_Tests.xcscheme | 71 ---------------- .../xcschemes/lottie-ios.xcscheme | 71 ---------------- .../xcschemes/xcschememanagement.plist | 42 ---------- .../Pods-lottie-ios_Example.xcscheme | 80 ------------------- .../xcschemes/Pods-lottie-ios_Tests.xcscheme | 80 ------------------- .../xcschemes/lottie-ios.xcscheme | 80 ------------------- .../xcschemes/xcschememanagement.plist | 42 ---------- .../Target Support Files/lottie-ios/Lottie.h | 10 --- lottie-ios.podspec | 13 +-- .../LAAnimationTransitionController.h | 0 .../{ => PublicHeaders}/LAAnimationView.h | 0 lottie-ios/Classes/PublicHeaders/Lottie.h | 15 ++++ 14 files changed, 20 insertions(+), 556 deletions(-) delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/lottie-ios.xcscheme delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/xcschememanagement.plist delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/lottie-ios.xcscheme delete mode 100644 Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/xcschememanagement.plist delete mode 100644 Example/Pods/Target Support Files/lottie-ios/Lottie.h rename lottie-ios/Classes/{ => PublicHeaders}/LAAnimationTransitionController.h (100%) rename lottie-ios/Classes/{ => PublicHeaders}/LAAnimationView.h (100%) create mode 100644 lottie-ios/Classes/PublicHeaders/Lottie.h diff --git a/.gitignore b/.gitignore index e51eaf78a9..f046de300e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +Example/Pods/Pods.xcodeproj/xcuserdata/ Example/lottie-ios.xcworkspace/xcuserdata/ LottieExamples/LottieExamples.xcodeproj/xcuserdata/ LottieExamples.xcworkspace/xcuserdata/ diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme deleted file mode 100644 index 9a12b2fb03..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme deleted file mode 100644 index 8df37c39cb..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/lottie-ios.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/lottie-ios.xcscheme deleted file mode 100644 index cfc0b8486c..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/lottie-ios.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index d038f9423c..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandon_withrow.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - SchemeUserState - - Pods-lottie-ios_Example.xcscheme - - isShown - - - Pods-lottie-ios_Tests.xcscheme - - isShown - - - lottie-ios.xcscheme - - isShown - - - - SuppressBuildableAutocreation - - 6DDA5F5406B3D3858519245405C1FC95 - - primary - - - 83ADD99A263B92A7CBD14D1B3DBE0C7B - - primary - - - F3E5C6CFC617C98C9BC4AFE6F3D2DFBE - - primary - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme deleted file mode 100644 index d76fbcd60e..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Example.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme deleted file mode 100644 index 42f0cd823a..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/Pods-lottie-ios_Tests.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/lottie-ios.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/lottie-ios.xcscheme deleted file mode 100644 index d4b45ed87b..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/lottie-ios.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 05afe55129..0000000000 --- a/Example/Pods/Pods.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - SchemeUserState - - Pods-lottie-ios_Example.xcscheme - - orderHint - 2 - - Pods-lottie-ios_Tests.xcscheme - - orderHint - 3 - - lottie-ios.xcscheme - - orderHint - 1 - - - SuppressBuildableAutocreation - - 6DDA5F5406B3D3858519245405C1FC95 - - primary - - - 83ADD99A263B92A7CBD14D1B3DBE0C7B - - primary - - - F3E5C6CFC617C98C9BC4AFE6F3D2DFBE - - primary - - - - - diff --git a/Example/Pods/Target Support Files/lottie-ios/Lottie.h b/Example/Pods/Target Support Files/lottie-ios/Lottie.h deleted file mode 100644 index ac9f94d50e..0000000000 --- a/Example/Pods/Target Support Files/lottie-ios/Lottie.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - - -FOUNDATION_EXPORT double lottie_iosVersionNumber; -FOUNDATION_EXPORT const unsigned char lottie_iosVersionString[]; - -#import -#import diff --git a/lottie-ios.podspec b/lottie-ios.podspec index 546148aea7..5231bb1b5b 100644 --- a/lottie-ios.podspec +++ b/lottie-ios.podspec @@ -11,12 +11,6 @@ Pod::Spec.new do |s| s.version = '1.0.0' s.summary = 'Used to natively render vector animations exported from After Effects.' -# This description is used to generate tags and improve search results. -# * Think: What does it do? Why did you write it? What is the focus? -# * Try to keep it short, snappy and to the point. -# * Write the description between the DESC delimiters below. -# * Finally, don't worry about the indent, CocoaPods strips it! - s.description = <<-DESC Lottie is a mobile library for Andorid and iOS that parses Adobe After Effects animations exported as json with bodymovin and renders the vector animations natively on mobile and through React Native! @@ -36,7 +30,8 @@ For the first time, designers can create and ship beautiful animations without a # 'lottie-ios' => ['lottie-ios/Assets/*.png'] # } - # s.public_header_files = 'Pod/Classes/**/*.h' - # s.frameworks = 'UIKit', 'MapKit' - # s.dependency 'AFNetworking', '~> 2.3' + s.public_header_files = 'lottie-ios/Classes/PublicHeaders/*.h' + s.frameworks = 'UIKit' + s.module_name = 'Lottie' + s.header_dir = 'Lottie' end diff --git a/lottie-ios/Classes/LAAnimationTransitionController.h b/lottie-ios/Classes/PublicHeaders/LAAnimationTransitionController.h similarity index 100% rename from lottie-ios/Classes/LAAnimationTransitionController.h rename to lottie-ios/Classes/PublicHeaders/LAAnimationTransitionController.h diff --git a/lottie-ios/Classes/LAAnimationView.h b/lottie-ios/Classes/PublicHeaders/LAAnimationView.h similarity index 100% rename from lottie-ios/Classes/LAAnimationView.h rename to lottie-ios/Classes/PublicHeaders/LAAnimationView.h diff --git a/lottie-ios/Classes/PublicHeaders/Lottie.h b/lottie-ios/Classes/PublicHeaders/Lottie.h new file mode 100644 index 0000000000..45ba055c9c --- /dev/null +++ b/lottie-ios/Classes/PublicHeaders/Lottie.h @@ -0,0 +1,15 @@ +// +// Lottie.h +// Pods +// +// Created by brandon_withrow on 1/27/17. +// +// + +#ifndef Lottie_h +#define Lottie_h + +#import "LAAnimationTransitionController.h" +#import "LAAnimationView.h" + +#endif /* Lottie_h */