Skip to content

Commit e072475

Browse files
authored
Merge pull request #273 from Iterable/MOB-1251-cocoapods-static
[MOB-1251] Convert to resource_bundles and remove comments
2 parents 64e2a1b + d33653b commit e072475

File tree

2 files changed

+1
-119
lines changed

2 files changed

+1
-119
lines changed

Iterable-iOS-AppExtensions.podspec

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
#
2-
# Be sure to run `pod spec lint Iterable-iOS-AppExtensions.podspec' to ensure this is a
3-
# valid spec and to remove all comments including this before submitting the spec.
4-
#
5-
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
6-
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
7-
#
8-
91
Pod::Spec.new do |s|
10-
11-
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
12-
#
13-
# These will help people to find your library, and whilst it
14-
# can feel like a chore to fill in it's definitely to your advantage. The
15-
# summary should be tweet-length, and the description more in depth.
16-
#
17-
182
s.name = "Iterable-iOS-AppExtensions"
193
s.module_name = "IterableAppExtensions"
204
s.version = "6.2.1"
@@ -25,56 +9,12 @@ Pod::Spec.new do |s|
259
DESC
2610

2711
s.homepage = "https://github.com/Iterable/swift-sdk.git"
28-
29-
30-
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
31-
#
32-
# Licensing your code is important. See http://choosealicense.com for more info.
33-
# CocoaPods will detect a license file if there is a named LICENSE*
34-
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
35-
#
36-
3712
s.license = "MIT"
38-
39-
40-
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
41-
#
42-
# Specify the authors of the library, with email addresses. Email addresses
43-
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
44-
# accepts just a name if you'd rather not provide an email address.
45-
#
46-
# Specify a social_media_url where others can refer to, for example a twitter
47-
# profile URL.
48-
#
49-
5013
s.author = { "Tapash Majumder" => "[email protected]",
5114
"Jay Kim" => "[email protected]" }
5215

53-
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
54-
#
55-
# If this Pod runs only on iOS or OS X, then specify the platform and
56-
# the deployment target. You can optionally include the target after the platform.
57-
#
58-
5916
s.platform = :ios, "10.0"
60-
61-
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62-
#
63-
# Specify the location from where the source should be retrieved.
64-
# Supports git, hg, bzr, svn and HTTP.
65-
#
66-
6717
s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version }
68-
69-
70-
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
71-
#
72-
# CocoaPods is smart about how it includes source code. For source files
73-
# giving a folder will include any swift, h, m, mm, c & cpp files.
74-
# For header files it will include any header in the folder.
75-
# Not including the public_header_files will make all headers public.
76-
#
77-
7818
s.source_files = "notification-extension/*.{h,m,swift}"
7919

8020
s.pod_target_xcconfig = {

Iterable-iOS-SDK.podspec

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
#
2-
# Be sure to run `pod spec lint Iterable-iOS-SDK.podspec' to ensure this is a
3-
# valid spec and to remove all comments including this before submitting the spec.
4-
#
5-
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
6-
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
7-
#
8-
91
Pod::Spec.new do |s|
10-
11-
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
12-
#
13-
# These will help people to find your library, and whilst it
14-
# can feel like a chore to fill in it's definitely to your advantage. The
15-
# summary should be tweet-length, and the description more in depth.
16-
#
17-
182
s.name = "Iterable-iOS-SDK"
193
s.module_name = "IterableSDK"
204
s.version = "6.2.1"
@@ -26,57 +10,15 @@ Pod::Spec.new do |s|
2610
DESC
2711

2812
s.homepage = "https://github.com/Iterable/swift-sdk.git"
29-
30-
31-
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
32-
#
33-
# Licensing your code is important. See http://choosealicense.com for more info.
34-
# CocoaPods will detect a license file if there is a named LICENSE*
35-
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
36-
#
37-
3813
s.license = "MIT"
39-
40-
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
41-
#
42-
# Specify the authors of the library, with email addresses. Email addresses
43-
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
44-
# accepts just a name if you'd rather not provide an email address.
45-
#
46-
# Specify a social_media_url where others can refer to, for example a twitter
47-
# profile URL.
48-
#
49-
5014
s.author = { "Tapash Majumder" => "[email protected]",
5115
"Jay Kim" => "[email protected]" }
5216

53-
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
54-
#
55-
# If this Pod runs only on iOS or OS X, then specify the platform and
56-
# the deployment target. You can optionally include the target after the platform.
57-
#
58-
5917
s.platform = :ios, "9.0"
60-
61-
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62-
#
63-
# Specify the location from where the source should be retrieved.
64-
# Supports git, hg, bzr, svn and HTTP.
65-
#
66-
6718
s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version }
68-
69-
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
70-
#
71-
# CocoaPods is smart about how it includes source code. For source files
72-
# giving a folder will include any swift, h, m, mm, c & cpp files.
73-
# For header files it will include any header in the folder.
74-
# Not including the public_header_files will make all headers public.
75-
#
76-
7719
s.source_files = "swift-sdk/**/*.{h,m,swift}"
7820

79-
s.resources = ['swift-sdk/Resources/**/*.{storyboard,xib,xcassets}']
21+
s.resource_bundles = {'Iterable-iOS-SDK' => 'swift-sdk/Resources/**/*.{storyboard,xib,xcassets}' }
8022

8123
s.pod_target_xcconfig = {
8224
'SWIFT_VERSION' => '5.2'

0 commit comments

Comments
 (0)