更新阅读器功能与示例
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "RDAIReaderView"
|
||||
s.module_name = "RDAIReaderView"
|
||||
s.version = "0.1.0"
|
||||
s.summary = "Local-first AI indexing and retrieval primitives for ReadViewSDK readers"
|
||||
s.platform = :ios, "15.0"
|
||||
s.swift_versions = ["5.10"]
|
||||
s.homepage = "https://example.invalid/RDAIReaderView"
|
||||
s.author = { "readoor" => "ios@touchread.com" }
|
||||
s.source = { :path => "." }
|
||||
s.license = "MIT"
|
||||
s.requires_arc = true
|
||||
|
||||
s.subspec "Core" do |core|
|
||||
core.source_files = "Core/**/*.swift"
|
||||
core.frameworks = "CryptoKit"
|
||||
core.libraries = "sqlite3"
|
||||
end
|
||||
|
||||
s.subspec "NaturalLanguage" do |natural_language|
|
||||
natural_language.source_files = "NaturalLanguage/**/*.swift"
|
||||
natural_language.dependency "RDAIReaderView/Core", "~> 0.1"
|
||||
natural_language.frameworks = "NaturalLanguage"
|
||||
end
|
||||
|
||||
s.subspec "FoundationModels" do |foundation_models|
|
||||
foundation_models.source_files = "FoundationModels/**/*.swift"
|
||||
foundation_models.dependency "RDAIReaderView/Core", "~> 0.1"
|
||||
foundation_models.frameworks = "FoundationModels"
|
||||
end
|
||||
|
||||
s.subspec "UI" do |ui|
|
||||
ui.source_files = "UI/**/*.swift"
|
||||
ui.dependency "RDAIReaderView/Core", "~> 0.1"
|
||||
ui.frameworks = "UIKit"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user