require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
  s.name         = package["name"]
  s.version      = package["version"]
  s.summary      = package['description']
  s.license      = package['license']
  
  s.author       = "David Chavez"
  s.homepage     = package['repository']['url']
  s.platform     = :ios, "10.0"

  s.source       = { :git => package['repository']['url'], :tag => "v#{s.version}" }
  s.source_files  = "ios/**/*.{h,m,swift}"
  s.swift_version = "4.2"

  s.dependency "React"
  s.exclude_files = ["ios/RNTrackPlayer/Vendor/AudioPlayer/Example"]
end

require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
  s.name = package["name"]
  s.version = package["version"]
  s.summary = package["description"]
  s.license = package["license"]

  s.author = "David Chavez"
  s.homepage = package["repository"]["url"]
  s.platform = :ios, "10.0"

  s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
  s.source_files = "ios/**/*.{h,m,swift}"

  s.exclude_files = ["ios/RNTrackPlayer/Vendor/AudioPlayer/Example"]

  s.swift_version = "5.0"

  s.dependency "React"
end

Update podspec swift version to match SwiftAudio submodule. Cleanup quotes and other formatting.
[iOS] Update podspec swift version to match SwiftAudio submodule. Cleanup quotes and other formatting.
