Skip to content

Commit

Permalink
Added podspec for new swiftui and combine
Browse files Browse the repository at this point in the history
  • Loading branch information
SURYAKANTSHARMA committed Aug 27, 2023
1 parent 0a9d0dd commit 0d9eee2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions CountryPickeriOS15+/SKCountryPicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "SKCountryPicker"
s.version = "2.0.2"
s.version = "3.0.0"
s.summary = "A simple, customizable Country picker for picking country or dialing code."

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -78,7 +78,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "https://github.com/SURYAKANTSHARMA/CountryPicker", :tag => "2.0.2", :branch => 'master'}
s.source = { :git => "https://github.com/SURYAKANTSHARMA/CountryPicker", :tag => "3.0.0", :branch => 'master'}


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand All @@ -89,7 +89,7 @@ Pod::Spec.new do |s|
# Not including the public_header_files will make all headers public.
#

s.source_files = "CountryPickerSPM/Sources/CountryPickerSPM/**/*.{swift}"
s.source_files = "CountryPicker/CountryPickeriOS15+/CountryPickerSPM/Sources/CountryPickerSPM/**/*.{swift}"
s.exclude_files = "Classes/Exclude"

# s.public_header_files = "Classes/**/*.h"
Expand All @@ -103,10 +103,9 @@ Pod::Spec.new do |s|
# non-essential files like tests, examples and documentation.
#

s.resource = "CountryPickerSPM/Sources/CountryPickerSPM/ImagesBundle/*.{png}"
s.resource_bundles = {
'CountryPickerController' => ['CountryPickerSPM/Sources/CountryPickerSPM/ImagesBundle/CountryPickerController.bundle/*']
}
'CountryPickerController' => ['CountryPickerSPM/Sources/CountryPickerSPM/CountryPickerController.bundle/*']
}
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"

end

0 comments on commit 0d9eee2

Please sign in to comment.