-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMediaToolSwift.podspec
31 lines (30 loc) · 1.91 KB
/
MediaToolSwift.podspec
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
# To publish new version to CocoaPods:
# - create new release on Github with a tag `1.0.0`
# - `git tag 1.0.0`
# - `pod trunk push MediaToolSwift.podspec --allow-warnings`
Pod::Spec.new do |spec|
spec.name = "MediaToolSwift"
spec.version = "1.2.0"
spec.summary = "A Swift library for media handling and manipulation."
spec.description = <<-DESC
MediaToolSwift is a Swift library that provides a collection of classes and utilities for media handling and manipulation. It provides an easy-to-use interface for performing common media operations such as compression, conversion, resizing and more. Supports video, image and audio media types.
DESC
spec.homepage = "https://github.com/starkdmi/MediaToolSwift"
spec.license = { :type => 'MPL-2.0', :file => 'LICENSE' }
spec.author = "Dmitry Starkov"
spec.source = { :git => "https://github.com/starkdmi/MediaToolSwift.git", :tag => "#{spec.version}" }
spec.platforms = { :ios => "13.0", :osx => "11.0", :tvos => "13.0" } # :visionos => "1.0"
spec.source_files = "Sources/**/*.swift", "Sources/Classes/ObjCExceptionCatcher/**/*.{h,m}"
spec.public_header_files = "Sources/Classes/ObjCExceptionCatcher/**/*.h"
spec.resource_bundles = {"MediaToolSwift" => ["Sources/PrivacyInfo.xcprivacy"]}
#spec.pod_target_xcconfig = {
# 'OTHER_SWIFT_FLAGS[config=Advanced]' => '-DADVANCED -DIMAGEPLUS',
#}
spec.frameworks = "Foundation", "AVFoundation", "VideoToolbox", "AudioToolbox", "Accelerate", "CoreImage", "ImageIO", "CoreMedia", "CoreLocation"
spec.ios.frameworks = "MobileCoreServices"
spec.tvos.frameworks = "MobileCoreServices"
#spec.osx.frameworks = ""
spec.module_name = "MediaToolSwift"
spec.swift_version = "5.9"
spec.requires_arc = true
end