diff --git a/Package.resolved b/Package.resolved index d91fdd25..810d97dc 100644 --- a/Package.resolved +++ b/Package.resolved @@ -9,6 +9,15 @@ "version" : "5.4.3" } }, + { + "identity" : "antlr4", + "kind" : "remoteSourceControl", + "location" : "https://github.com/antlr/antlr4", + "state" : { + "revision" : "44d87bc1d130c88aa452894aa5f7e2f710f68253", + "version" : "4.10.1" + } + }, { "identity" : "cache", "kind" : "remoteSourceControl", diff --git a/Package.swift b/Package.swift index 0d7f8b56..ff62f58e 100644 --- a/Package.swift +++ b/Package.swift @@ -40,9 +40,8 @@ let package = Package( .library(name: "TITransitions", targets: ["TITransitions"]), .library(name: "TIPagination", targets: ["TIPagination"]), .library(name: "TIAuth", targets: ["TIAuth"]), - - //MARK: - Skolkovo - .library(name: "TIEcommerce", targets: ["TIEcommerce"]) + .library(name: "TIEcommerce", targets: ["TIEcommerce"]), + .library(name: "TITextProcessing", targets: ["TITextProcessing"]) ], dependencies: [ .package(url: "https://github.com/maxsokolov/TableKit.git", .upToNextMajor(from: "2.11.0")), @@ -50,7 +49,8 @@ let package = Package( .package(url: "https://github.com/petropavel13/Cursors", .upToNextMajor(from: "0.5.1")), .package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.4.0")), .package(url: "https://github.com/Moya/Moya.git", .upToNextMajor(from: "15.0.0")), - .package(url: "https://github.com/hyperoslo/Cache.git", .upToNextMajor(from: "6.0.0")) + .package(url: "https://github.com/hyperoslo/Cache.git", .upToNextMajor(from: "6.0.0")), + .package(url: "https://github.com/antlr/antlr4", .upToNextMinor(from: "4.10.1")) ], targets: [ @@ -85,7 +85,8 @@ let package = Package( .target(name: "TIPagination", dependencies: ["Cursors", "TISwiftUtils"], path: "TIPagination/Sources"), .target(name: "TIAuth", dependencies: ["TIFoundationUtils", "TIUIKitCore", "KeychainAccess"], path: "TIAuth/Sources"), .target(name: "TIEcommerce", dependencies: ["TIFoundationUtils", "TISwiftUtils", "TINetworking", "TIUIKitCore", "TIUIElements"], path: "TIEcommerce/Sources"), - + .target(name: "TITextProcessing", dependencies: ["Antlr4"], path: "TITextProcessing/Sources"), + // MARK: - Tests .testTarget( diff --git a/TITextProcessing/TITextProcessing.podspec b/TITextProcessing/TITextProcessing.podspec new file mode 100644 index 00000000..fdfe6da2 --- /dev/null +++ b/TITextProcessing/TITextProcessing.podspec @@ -0,0 +1,18 @@ +Pod::Spec.new do |s| + s.name = 'TITextProcessing' + s.version = '1.31.0' + s.summary = 'A text processing service helping to get a text mask and a placeholder from incoming regex.' + s.homepage = 'https://gitlab.ti/touchinstinct/LeadKit/tree/' + s.version.to_s + '/' + s.name + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'petropavel13' => 'ivan.smolin@touchin.ru' } + s.source = { :git => 'https://gitlab.ti/touchinstinct/LeadKit.git', :tag => s.version.to_s } + + s.ios.deployment_target = '10.0' + s.swift_versions = ['5.3'] + + s.source_files = s.name + '/Sources/**/*' + + s.static_framework = true + s.user_target_xcconfig = { 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } + s.pod_target_xcconfig = { 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } +end