From aa1ef2aaae0228ac5543ec0588ec780c55511896 Mon Sep 17 00:00:00 2001 From: Cocody Date: Tue, 25 Jul 2017 16:42:42 +0800 Subject: [PATCH] For pods --- .swift-version | 1 + CKMnemonic.podspec | 42 ++++++++++++++++++++++++ CKMnemonic/CKMnemonic/CKMnemonic.podspec | 42 ++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 .swift-version create mode 100644 CKMnemonic.podspec create mode 100644 CKMnemonic/CKMnemonic/CKMnemonic.podspec diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..9f55b2c --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +3.0 diff --git a/CKMnemonic.podspec b/CKMnemonic.podspec new file mode 100644 index 0000000..b793651 --- /dev/null +++ b/CKMnemonic.podspec @@ -0,0 +1,42 @@ +# +# Be sure to run `pod lib lint CKMnemonic.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 http://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = 'CKMnemonic' + s.version = '0.1.2' + s.summary = 'An implementation of BIP39 used Swift.' + +# 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 + An implementation of BIP39 used Swift. For HDWallet. + DESC + + s.homepage = 'https://github.com/CikeQiu/CKMnemonic' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'HongYang Qiu' => 'qiuhongyang@askcoin.com' } + s.source = { :git => 'https://github.com/CikeQiu/CKMnemonic.git', :tag => 'v' + s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.ios.deployment_target = '8.0' + + s.source_files = 'CKMnemonic/CKMnemonic/**/*.swift' + + # s.resource_bundles = { + # 'CKMnemonic' => ['CKMnemonic/Assets/*.png'] + # } + + # s.public_header_files = 'Pod/Classes/**/*.h' + # s.frameworks = 'UIKit', 'MapKit' + s.dependency 'CryptoSwift' +end diff --git a/CKMnemonic/CKMnemonic/CKMnemonic.podspec b/CKMnemonic/CKMnemonic/CKMnemonic.podspec new file mode 100644 index 0000000..615c1da --- /dev/null +++ b/CKMnemonic/CKMnemonic/CKMnemonic.podspec @@ -0,0 +1,42 @@ +# +# Be sure to run `pod lib lint CKMnemonic.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 http://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = 'CKMnemonic' + s.version = '0.1.1' + s.summary = 'An implementation of BIP39 used Swift.' + +# 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 + An implementation of BIP39 used Swift. For HDWallet. + DESC + + s.homepage = 'https://github.com/work_cocody@hotmail.com/CKMnemonic' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'HongYang Qiu' => 'qiuhongyang@askcoin.com' } + s.source = { :git => 'https://github.com/CikeQiu/CKMnemonic', :tag => 'v' + s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.ios.deployment_target = '8.0' + + s.source_files = 'CKMnemonic/CKMnemonic/**/*.swift' + + # s.resource_bundles = { + # 'CKMnemonic' => ['CKMnemonic/Assets/*.png'] + # } + + # s.public_header_files = 'Pod/Classes/**/*.h' + # s.frameworks = 'UIKit', 'MapKit' + s.dependency 'CryptoSwift' +end