32 lines
1.7 KiB
Ruby
32 lines
1.7 KiB
Ruby
#
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
|
#
|
|
Pod::Spec.new do |s|
|
|
s.name = 'video_player_avfoundation'
|
|
s.version = '0.0.1'
|
|
s.summary = 'Flutter Video Player'
|
|
s.description = <<-DESC
|
|
A Flutter plugin for playing back video on a Widget surface.
|
|
Downloaded by pub (not CocoaPods).
|
|
DESC
|
|
s.homepage = 'https://github.com/flutter/packages'
|
|
s.license = { :type => 'BSD', :file => '../LICENSE' }
|
|
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
|
|
s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/video_player/video_player_avfoundation' }
|
|
s.documentation_url = 'https://pub.dev/packages/video_player'
|
|
s.source_files = 'video_player_avfoundation/Sources/video_player_avfoundation{,_objc}/**/*.{h,m,swift}'
|
|
s.ios.source_files = 'video_player_avfoundation/Sources/video_player_avfoundation_ios/*'
|
|
s.osx.source_files = 'video_player_avfoundation/Sources/video_player_avfoundation_macos/*'
|
|
s.public_header_files = 'video_player_avfoundation/Sources/video_player_avfoundation_objc/include/**/*.h'
|
|
s.ios.dependency 'Flutter'
|
|
s.osx.dependency 'FlutterMacOS'
|
|
s.ios.deployment_target = '13.0'
|
|
s.osx.deployment_target = '10.15'
|
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
|
s.swift_version = '5.0'
|
|
s.xcconfig = {
|
|
'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift',
|
|
'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',
|
|
}
|
|
s.resource_bundles = {'video_player_avfoundation_privacy' => ['video_player_avfoundation/Sources/video_player_avfoundation/Resources/PrivacyInfo.xcprivacy']}
|
|
end
|