Pod::Spec.new do |s| s.platform = :ios s.ios.deployment_target = '12.1' s.swift_versions = "5.0" s.name = "YTLiveStreaming" s.description = <<-DESC YTLiveStreaming is a framework which lets create live broadcasts and video streams on YouTube using the YouTube Live Streaming API. DESC s.summary = "YTLiveStreaming is an YouTube Live Streaming Framework" s.requires_arc = true s.version = "0.2.45" # Initialize # Check podspec # pod lib lint YTLiveStreaming.podspec # First commit # git commit -m "Initial Commit" # git remote add origin https://github.com/SKrotkih/YTLiveStreaming.git # git push -u origin master # Make for new version: # 1. git tag 0.2.35 # 2. git push -u origin master --tags # 3. pod spec lint YTLiveStreaming.podspec --allow-warnings # Push podspec with the new version info # Create session: # 4. pod trunk register sergey.krotkih@gmail.com "Serhii Krotkykh" --description="CocoaPods Session for the YTLiveStreaming" # 5. pod trunk push YTLiveStreaming.podspec --verbose --allow-warnings s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Serhii Krotkykh" => "sergey.krotkih@gmail.com" } s.homepage = "https://github.com/SKrotkih/YTLiveStreaming.git" s.source = { :git => "https://github.com/SKrotkih/YTLiveStreaming.git", :tag => s.version.to_s } s.frameworks = "UIKit" s.dependency 'Moya', '14.0' s.dependency 'SwiftyJSON' s.dependency 'KeychainAccess' s.source_files = "YTLiveStreaming/**/*.{swift,h,m}" s.public_header_files = ['YTLiveStreaming/YTLiveStreaming.h'] end