Zip.podspec 1.81 KB
Newer Older
Roy Marmelstein's avatar
Roy Marmelstein committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#
# Be sure to run `pod lib lint Zip.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = "Zip"
  s.version          = "0.1.0"
  s.summary          = "Zip and unzip files in Swift."

# 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
                      A Swift framework for zipping and unzipping files. Simple and quick to use. Built on top of minizip.
                     DESC

  s.homepage         = "https://github.com/marmelroy/Zip"
  # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
  s.license          = 'MIT'
  s.author           = { "Roy Marmelstein" => "marmelroy@gmail.com" }
  s.source           = { :git => "https://github.com/marmelroy/Zip.git", :tag => s.version.to_s }
  s.social_media_url   = "http://twitter.com/marmelroy"

  s.platform     = :ios, '8.0'
  s.requires_arc = true

Roy Marmelstein's avatar
Roy Marmelstein committed
33 34
  s.source_files = 'Zip/*', 'Zip/minizip/*', 'Zip/minizip/aes/*'
  s.public_header_files = 'Zip/*.h'
Roy Marmelstein's avatar
Roy Marmelstein committed
35

Roy Marmelstein's avatar
Roy Marmelstein committed
36 37 38 39
  s.xcconfig = {'LIBRARY_SEARCH_PATHS' => '"$(SRCROOT)/Zip/minizip/module.modulemap"', 'SWIFT_INCLUDE_PATHS' => '"$(SRCROOT)/Zip/minizip/module.modulemap"', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'}
  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.libraries = 'z'
  s.preserve_paths  = 'Zip/minizip/module.modulemap'
Roy Marmelstein's avatar
Roy Marmelstein committed
40

Roy Marmelstein's avatar
Roy Marmelstein committed
41 42
  # s.dependency 'AFNetworking', '~> 2.3'
end