-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRSButton.podspec
More file actions
45 lines (37 loc) · 2 KB
/
Copy pathRSButton.podspec
File metadata and controls
45 lines (37 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Be sure to run `pod lib lint RSButton.podspec` to ensure this
# describes a valid spec before submitting to a CocoaPods repo.
#
# This inspection tells CocoaPods where to find the source files for your pod.
#
Pod::Spec.new do |s|
s.name = 'RSButton'
s.version = '0.1.0' # Start with a version number
s.summary = 'A collection of custom SwiftUI buttons.'
s.description = <<-DESC
This CocoaPod provides a set of reusable and customizable SwiftUI button components
for modern iOS applications.
DESC
s.homepage = 'https://github.com/yourusername/RSButton' # Replace with your GitHub repo URL
s.license = { :type => 'MIT', :file => 'LICENSE' } # Create a LICENSE file in your repo
s.author = { 'Your Name' => 'rajssinde@gmail.com' }
s.source = { :git => 'https://github.com/rajssinde/RSButton', :tag => s.version.to_s }
s.ios.deployment_target = '13.0' # Set the minimum iOS deployment target for SwiftUI
s.source_files = 'RSButton/Classes/**/*.{h,m,swift}' # Adjust this path to where your SwiftUI files are located
# Example: If your RSButton.swift is directly in the project root or a 'Sources' folder:
# s.source_files = 'Sources/*.swift'
# Or if your SwiftUI code is in a folder named 'RSButton/Source':
# s.source_files = 'RSBUtton/Source/*.swift'
s.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9'] # Specify Swift versions supported
# Or simply: s.swift_version = '5.0' if you only support Swift 5.0 and above.
# If your SwiftUI library depends on other CocoaPods, list them here:
# s.dependency 'AnotherPod', '~> 1.0'
# If you have resources (e.g., asset catalogs, storyboards), uncomment and adjust:
# s.resource_bundles = {
# 'RSButton' => ['RSButton/Assets/*.xcassets']
# }
# If your pod has a test target, uncomment and adjust:
# s.test_spec 'Tests' do |test_spec|
# test_spec.source_files = 'RSButton/Tests/*.{h,m,swift}'
# end
end