mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
41 lines
1.4 KiB
Ruby
41 lines
1.4 KiB
Ruby
Pod::Spec.new do |s|
|
|
|
|
s.name = "MMKV"
|
|
s.version = "2.2.4"
|
|
s.summary = "MMKV is a cross-platform key-value storage framework developed by WeChat."
|
|
|
|
s.description = <<-DESC
|
|
The MMKV, for Objective-C.
|
|
MMKV is an efficient, complete, easy-to-use mobile key-value storage framework used in the WeChat application.
|
|
It can be a replacement for NSUserDefaults & SQLite.
|
|
DESC
|
|
|
|
s.homepage = "https://github.com/Tencent/MMKV"
|
|
s.license = { :type => "BSD 3-Clause", :file => "LICENSE.TXT"}
|
|
s.author = { "guoling" => "guoling@tencent.com" }
|
|
|
|
s.ios.deployment_target = "13.0"
|
|
s.osx.deployment_target = "10.15"
|
|
s.tvos.deployment_target = "13.0"
|
|
s.visionos.deployment_target = "1.0"
|
|
|
|
s.source = { :git => "https://github.com/Tencent/MMKV.git", :tag => "v#{s.version}" }
|
|
#s.source = { :git => "https://github.com/Tencent/MMKV.git", :branch => "dev_namespace" }
|
|
s.source_files = "iOS/MMKV/MMKV", "iOS/MMKV/MMKV/*.{h,mm,hpp}"
|
|
s.public_header_files = "iOS/MMKV/MMKV/MMKV.h", "iOS/MMKV/MMKV/MMKVHandler.h"
|
|
|
|
s.framework = "CoreFoundation"
|
|
s.libraries = "z", "c++"
|
|
s.requires_arc = false
|
|
s.pod_target_xcconfig = {
|
|
"CLANG_CXX_LANGUAGE_STANDARD" => "gnu++20",
|
|
"CLANG_CXX_LIBRARY" => "libc++",
|
|
"CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF" => "NO",
|
|
"DEFINES_MODULE" => "YES",
|
|
}
|
|
|
|
s.dependency 'MMKVCore', '~> 2.2.4'
|
|
|
|
end
|
|
|