Pod::Spec.new do |s| s.name = "XcodeServerSDK" s.version = "0.7.1" s.summary = "Access Xcode Server API with native Swift objects." s.homepage = "https://github.com/czechboy0/XcodeServerSDK" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Honza Dvorsky" => "honzadvorsky.com" } s.social_media_url = "http://twitter.com/czechboy0" s.ios.deployment_target = "8.0" s.osx.deployment_target = "10.10" s.watchos.deployment_target = "2.0" s.tvos.deployment_target = "9.0" s.source = { :git => "https://github.com/czechboy0/XcodeServerSDK.git", :tag => "v#{s.version}" } s.source_files = "XcodeServerSDK/**/*.{swift}" # load the dependencies from the podfile for target ekgclient podfile_deps = Podfile.from_file(Dir["Podfile"].first).target_definitions["XcodeServerSDK"].dependencies podfile_deps.each do |dep| s.dependency dep.name, dep.requirement.to_s end end