Pod::Spec.new do |s|
  s.name         = "YAJL-Entity"
  s.version      = "1.0"
  s.summary      = "A JSON framework that can deserialize the JSON string into real objects, with 0.1 configuration."

  s.description  = <<-DESC
                   On top of yajl-objc, YAJL-Entity deserialize the JSON string directly into Objective-C objects, as opposed to what you get from most other libraries: NSDictionary or NSData. Which makes your models as clean as possible.
                   DESC

  s.homepage     = "https://github.com/Xenofex/YAJL-Entity"

  s.license      = 'MIT'
  s.author       = { "Eli Wang" => "sirxenofex@gmail.com" }

  s.platform     = :ios
  s.dependency   = 'yajl-objc', '~> 0.2.27'
  s.source       = { :git => "https://github.com/Xenofex/YAJL-Entity.git", :tag => "v1.0", :submodules => true }

  s.source_files  = 'yajl-objc/Classes/**/*.{h,m}', 'yajl-objc/Libraries/**/*.{h,m}', 
                    'yajl-objc/yajl-1.0.11/**/*.{h,c}', 'YAJL-Entity/*.{h,m}'
  s.header_mappings_dir = 'yajl-objc/yajl-1.0.11'
  s.requires_arc = false
  s.xcconfig = { 'OTHER_LDFLAGS' => '-all_load'}
end

Pod::Spec.new do |s|
  s.name         = "YAJL-Entity"
  s.version      = "1.0"
  s.summary      = "A JSON framework that can deserialize the JSON string into real objects, with 0.1 configuration."

  s.description  = <<-DESC
                   On top of yajl-objc, YAJL-Entity deserialize the JSON string directly into Objective-C objects, as opposed to what you get from most other libraries: NSDictionary or NSData. Which makes your models as clean as possible.
                   DESC

  s.homepage     = "https://github.com/Xenofex/YAJL-Entity"

  s.license      = 'MIT'
  s.author       = { "Eli Wang" => "sirxenofex@gmail.com" }

  s.platform     = :ios
  s.dependency   'yajl-objc', '~> 0.2.27'
  s.source       = { :git => "https://github.com/Xenofex/YAJL-Entity.git", :tag => "v1.0", :submodules => true }

  s.source_files  = 'YAJL-Entity/*.{h,m}'
  s.header_mappings_dir = 'yajl-objc/yajl-1.0.11'
  s.requires_arc = false
  s.xcconfig = { 'OTHER_LDFLAGS' => '-all_load'}
end

Fix the dependency and source_files in podspec
Fix the dependency and source_files in podspec
