| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #
- # Be sure to run `pod lib lint SCTTSVoiceLib.podspec' to ensure this is a
- # valid spec before submitting.
- #
- # Any lines starting with a # are optional, but their use is encouraged
- # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
- #
- Pod::Spec.new do |s|
- s.name = 'SCTTSVoiceLib'
- s.version = '0.1.0'
- s.summary = 'A short description of SCTTSVoiceLib.'
- # This description is used to generate tags and improve search results.
- # * Think: What does it do? Why did you write it? What is the focus?
- # * Try to keep it short, snappy and to the point.
- # * Write the description between the DESC delimiters below.
- # * Finally, don't worry about the indent, CocoaPods strips it!
- s.description = <<-DESC
- TODO: Add long description of the pod here.
- DESC
- s.homepage = 'https://github.com/chaosheng/SCTTSVoiceLib'
- # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
- s.license = { :type => 'MIT', :file => 'LICENSE' }
- s.author = { 'chaosheng' => '794292206@qq.com' }
- s.source = { :git => 'https://github.com/chaosheng/SCTTSVoiceLib.git', :tag => s.version.to_s }
- # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
- s.ios.deployment_target = '11.0'
-
- # 依赖的第三方本地框架
- s.vendored_frameworks = 'SCTTSVoiceLib/Classes/tts/nuisdk.framework'
- # 关键配置:添加链接器参数
- s.xcconfig = {
- 'OTHER_LDFLAGS' => '-framework "nuisdk"',
- }
- #s.resource_bundles = {
- # 'SCTTSVoiceLib' => ['SCTTSVoiceLib/Assets/*.png']
- #}
- s.resources = 'SCTTSVoiceLib/Assets/SCTTSVoiceLib.bundle'
- s.public_header_files = 'Pod/Classes/*.h'
-
- # s.frameworks = 'UIKit', 'MapKit'
- # s.dependency 'AFNetworking', '~> 2.3'
- s.dependency 'KZBasalLib'
- s.dependency 'Masonry', '1.1.0'
- s.dependency 'SDWebImage', '5.5.2'
- s.dependency 'onnxruntime-objc','1.15.1'
- s.static_framework = true # 确保你的库作为静态框架构建
- s.dependency 'SocketRocket' #'0.7.1'
-
- s.subspec 'audio' do |var|
- var.source_files = 'SCTTSVoiceLib/Classes/audio/*'
- end
- s.subspec 'tts' do |var|
- var.source_files = 'SCTTSVoiceLib/Classes/tts/*'
- end
- s.subspec 'weakup' do |var|
- var.source_files = 'SCTTSVoiceLib/Classes/wakeup/*'
- end
- s.subspec 'apng' do |var|
- var.source_files = 'SCTTSVoiceLib/Classes/apng/*'
- end
- s.subspec 'chatting' do |var|
- var.source_files = 'SCTTSVoiceLib/Classes/chatting/*'
- end
-
- end
|