Skip to content

Commit ea419b3

Browse files
authored
Merge pull request #29 from willowtreeapps/feature/updatePodspec1.0.2
Make podspec work with static libraries.
2 parents 5070cb8 + af73805 commit ea419b3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

HyperioniOS.podspec

+9-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'HyperioniOS'
11-
s.version = '1.0.1'
11+
s.version = '1.0.2'
1212
s.summary = 'Hyperion is an app design review tool that allows you to inspect views and perform measurements live within your app.'
1313

1414
# This description is used to generate tags and improve search results.
@@ -31,26 +31,30 @@ Hyperion is an app design review tool that allows you to inspect views and perfo
3131
s.frameworks = ["UIKit"]
3232

3333
s.subspec 'Core' do |core|
34-
core.source_files = 'Core/**/*'
34+
core.source_files = 'Core/**/*.{h,m}'
3535
core.exclude_files = 'Core/**/*.md'
36+
core.resources = ['Core/**/*.png', 'Core/**/*.xib', 'Core/**/*.plist']
3637
end
3738

3839
s.subspec 'AttributesInspector' do |attributes|
3940
attributes.dependency 'HyperioniOS/Core'
40-
attributes.source_files = 'AttributesInspector/**/*'
41+
attributes.source_files = 'AttributesInspector/**/*.{h,m}'
4142
attributes.exclude_files = 'AttributesInspector/**/*.md'
43+
attributes.resources = ['AttributesInspector/**/*.png', 'AttributesInspector/**/*.xib', 'AttributesInspector/**/*.plist']
4244
end
4345

4446
s.subspec 'SlowAnimations' do |slowanimations|
4547
slowanimations.dependency 'HyperioniOS/Core'
46-
slowanimations.source_files = 'SlowAnimations/**/*'
48+
slowanimations.source_files = 'SlowAnimations/**/*.{h,m}'
4749
slowanimations.exclude_files = 'SlowAnimations/**/*.md'
50+
slowanimations.resources = ['SlowAnimations/**/*.png', 'SlowAnimations/**/*.xib', 'SlowAnimations/**/*.plist']
4851
end
4952

5053
s.subspec 'Measurements' do |measurements|
5154
measurements.dependency 'HyperioniOS/Core'
52-
measurements.source_files = 'Measurements/**/*'
55+
measurements.source_files = 'Measurements/**/*.{h,m}'
5356
measurements.exclude_files = 'Measurements/**/*.md'
57+
measurements.resources = ['Measurements/**/*.png', 'Measurements/**/*.xib', 'Measurements/**/*.plist']
5458
end
5559

5660
end

0 commit comments

Comments
 (0)