From 3fa1e3fcafeece2432005417402371fecaa8b4bd Mon Sep 17 00:00:00 2001 From: pablo santos Date: Sun, 7 Apr 2024 11:18:33 -0300 Subject: [PATCH 1/3] feat: aded podspec --- Mistica.podspec | 33 +++++++++++++++++++++++++++++++++ MisticaSwiftUI.podspec | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 Mistica.podspec create mode 100644 MisticaSwiftUI.podspec diff --git a/Mistica.podspec b/Mistica.podspec new file mode 100644 index 000000000..0a40006ba --- /dev/null +++ b/Mistica.podspec @@ -0,0 +1,33 @@ +# +# Be sure to run `pod lib lint Mistica.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 = 'Mistica' + s.version = '29.7.3' + s.summary = 'Mistica is an iOS framework that contains reusable UI components and utilities for the Telefonica group.' + s.description = <<-DESC + Mistica is an iOS framework that contains reusable UI components and utilities for the Telefonica group. + DESC + + s.homepage = 'https://github.com/Telefonica/mistica-ios' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Novum' => 'cto-ios@telefonica.com' } + s.source = { :git => 'https://github.com/Telefonica/mistica-ios/mistica-ios.git', :tag => s.version.to_s } + + s.ios.deployment_target = '12.0' + + s.source_files = 'Sources/Mistica/**/*.swift', 'Sources/MisticaCommon/**/*.swift' + s.exclude_files = 'Sources/Mistica/Export.swift' + s.resources = ['Sources/MisticaCommon/Resources/*'] + s.frameworks = 'UIKit' + + s.dependency "lottie-ios", "4.4.1" + s.dependency "SnapshotTesting", "1.8.2" + s.dependency "SDWebImage", "5.19.1" + s.dependency "SDWebImageSVGCoder", "1.7.0" +end \ No newline at end of file diff --git a/MisticaSwiftUI.podspec b/MisticaSwiftUI.podspec new file mode 100644 index 000000000..2cd0dd315 --- /dev/null +++ b/MisticaSwiftUI.podspec @@ -0,0 +1,33 @@ +# +# Be sure to run `pod lib lint MisticaSwiftUI.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 = 'MisticaSwiftUI' + s.version = '29.7.3' + s.summary = 'Mistica is an iOS framework that contains reusable UI components and utilities for the Telefonica group.' + s.description = <<-DESC + Mistica is an iOS framework that contains reusable UI components and utilities for the Telefonica group. + DESC + + s.homepage = 'https://github.com/Telefonica/mistica-ios' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Novum' => 'cto-ios@telefonica.com' } + s.source = { :git => 'https://github.com/Telefonica/mistica-ios/mistica-ios.git', :tag => s.version.to_s } + + s.ios.deployment_target = '12.0' + + s.source_files = 'Sources/MisticaSwiftUI/**/*.swift', 'Sources/MisticaCommon/**/*.swift' + s.exclude_files = 'Sources/Mistica/Export.swift' + s.resources = ['Sources/MisticaCommon/Resources/*'] + s.frameworks = 'SwiftUI' + + s.dependency "lottie-ios", "4.4.1" + s.dependency "SnapshotTesting", "1.8.2" + s.dependency "SDWebImage", "5.19.1" + s.dependency "SDWebImageSVGCoder", "1.7.0" + end \ No newline at end of file From 30b7e355626b36c96d26872c8647822c094e732c Mon Sep 17 00:00:00 2001 From: pablo santos Date: Tue, 9 Apr 2024 00:09:11 -0300 Subject: [PATCH 2/3] fix: podspec --- Mistica.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mistica.podspec b/Mistica.podspec index 0a40006ba..a9831ca9c 100644 --- a/Mistica.podspec +++ b/Mistica.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.frameworks = 'UIKit' s.dependency "lottie-ios", "4.4.1" - s.dependency "SnapshotTesting", "1.8.2" + # s.dependency "SnapshotTesting", "1.8.2" s.dependency "SDWebImage", "5.19.1" s.dependency "SDWebImageSVGCoder", "1.7.0" end \ No newline at end of file From 1a312a4c6d95a15dd4cd60c1295a8bf9e3750ab2 Mon Sep 17 00:00:00 2001 From: pablo santos Date: Tue, 9 Apr 2024 11:01:24 -0300 Subject: [PATCH 3/3] fix: MisticaSwiftUI --- MisticaSwiftUI.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MisticaSwiftUI.podspec b/MisticaSwiftUI.podspec index 2cd0dd315..61b361a45 100644 --- a/MisticaSwiftUI.podspec +++ b/MisticaSwiftUI.podspec @@ -22,12 +22,12 @@ Pod::Spec.new do |s| s.ios.deployment_target = '12.0' s.source_files = 'Sources/MisticaSwiftUI/**/*.swift', 'Sources/MisticaCommon/**/*.swift' - s.exclude_files = 'Sources/Mistica/Export.swift' + s.exclude_files = 'Sources/MisticaSwiftUI/Export.swift' s.resources = ['Sources/MisticaCommon/Resources/*'] s.frameworks = 'SwiftUI' s.dependency "lottie-ios", "4.4.1" - s.dependency "SnapshotTesting", "1.8.2" + # s.dependency "SnapshotTesting", "1.8.2" s.dependency "SDWebImage", "5.19.1" s.dependency "SDWebImageSVGCoder", "1.7.0" end \ No newline at end of file