From 7583d4c3b283535a6dedb39a900f9416f2ff98c4 Mon Sep 17 00:00:00 2001 From: hss Date: Sat, 23 Jan 2021 12:44:14 +0200 Subject: [PATCH] Add podspec file --- Library/Shared/PSDWriter.m | 1 + PSDWriter.podspec | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 PSDWriter.podspec diff --git a/Library/Shared/PSDWriter.m b/Library/Shared/PSDWriter.m index aa1d22c..825eb54 100755 --- a/Library/Shared/PSDWriter.m +++ b/Library/Shared/PSDWriter.m @@ -305,6 +305,7 @@ - (NSMutableData *) makeEffectLayer [effectInfo appendValue:75 withLength:1]; // Opacity as a percent } + return [[NSMutableData alloc] init]; } - (NSData *)createPSDData diff --git a/PSDWriter.podspec b/PSDWriter.podspec new file mode 100644 index 0000000..e2367ad --- /dev/null +++ b/PSDWriter.podspec @@ -0,0 +1,19 @@ +Pod::Spec.new do |spec| + spec.name = "PSDWriter" + spec.version = "1.0.0" + spec.summary = "An Objective-C library for creating layered PSDs from a set of images on Mac OS X or iOS" + spec.description = <<-DESC +An Objective-C library for creating layered PSDs from a set of images on Mac OS X or iOS + DESC + + spec.homepage = "https://github.com/bengotow/PSDWriter" + spec.license = { :file => "LICENSE.txt" } + spec.author = "Ben Gotow" + + spec.source = { :git => "https://github.com/bengotow/PSDWriter.git", :commit => "fc765dacfa0e8dc09d49918627a111362b9ed13b" } + spec.source_files = "Library/Shared/*.{h,m}" + spec.exclude_files = "Classes/Exclude" + spec.public_header_files = "Library/Shared/PSDWriter.h" + + spec.requires_arc = false +end