cocoapods-packager 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop-cocoapods.yml +1 -0
- data/.rubocop.yml +19 -0
- data/.travis.yml +4 -1
- data/Gemfile +2 -1
- data/Gemfile.lock +54 -41
- data/Rakefile +2 -2
- data/cocoapods-packager.gemspec +1 -1
- data/lib/cocoapods-packager/builder.rb +135 -44
- data/lib/cocoapods-packager/framework.rb +1 -1
- data/lib/cocoapods-packager/mangle.rb +4 -4
- data/lib/cocoapods-packager/pod_utils.rb +175 -21
- data/lib/cocoapods-packager/spec_builder.rb +13 -17
- data/lib/cocoapods-packager/symbols.rb +4 -3
- data/lib/cocoapods_packager.rb +1 -1
- data/lib/pod/command/package.rb +40 -15
- data/spec/command/error_spec.rb +7 -0
- data/spec/command/package_spec.rb +189 -13
- data/spec/command/subspecs_spec.rb +2 -2
- data/spec/fixtures/KFData.podspec +2 -2
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer.xcodeproj/project.pbxproj +39 -23
- data/spec/fixtures/LibraryConsumerDemo/LibraryConsumer/AppDelegate.m +2 -1
- data/spec/fixtures/LibraryConsumerDemo/Podfile +4 -0
- data/spec/fixtures/LibraryDemo.podspec +4 -2
- data/spec/fixtures/NikeKit.podspec +1 -1
- data/spec/fixtures/PackagerTest/PackagerTest.xcodeproj/project.pbxproj +36 -20
- data/spec/fixtures/PackagerTest/Podfile.lock +3 -1
- data/spec/fixtures/a.podspec +1 -1
- data/spec/fixtures/foo-bar.podspec +1 -1
- data/spec/integration/project_spec.rb +24 -3
- data/spec/pod/utils_spec.rb +40 -9
- data/spec/specification/builder_spec.rb +7 -7
- data/spec/specification/spec_builder_spec.rb +1 -1
- metadata +10 -4
data/spec/command/error_spec.rb
CHANGED
@@ -28,6 +28,13 @@ module Pod
|
|
28
28
|
end.message.should.match /binary-only/
|
29
29
|
end
|
30
30
|
|
31
|
+
it 'presents the help if both --exclude-deps and --dynamic are specified' do
|
32
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --exclude-deps --dynamic })
|
33
|
+
should.raise CLAide::Help do
|
34
|
+
command.validate!
|
35
|
+
end.message.should.match /--exclude-deps option can only be used for static libraries/
|
36
|
+
end
|
37
|
+
|
31
38
|
it 'can package a podspec with only resources' do
|
32
39
|
command = Command.parse(%w{ package spec/fixtures/layer-client-messaging-schema.podspec --no-mangle })
|
33
40
|
command.run
|
@@ -1,6 +1,9 @@
|
|
1
1
|
require File.expand_path('../../spec_helper', __FILE__)
|
2
2
|
|
3
3
|
module Pod
|
4
|
+
|
5
|
+
DONT_CODESIGN = true
|
6
|
+
|
4
7
|
describe Command::Spec::Package do
|
5
8
|
describe 'CLAide' do
|
6
9
|
after do
|
@@ -23,7 +26,7 @@ module Pod
|
|
23
26
|
end
|
24
27
|
|
25
28
|
it "errors if it cannot find a spec" do
|
26
|
-
|
29
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
27
30
|
|
28
31
|
command = Command.parse(%w{ package KFData })
|
29
32
|
should.raise CLAide::Help do
|
@@ -31,32 +34,102 @@ module Pod
|
|
31
34
|
end.message.should.match /Unable to find/
|
32
35
|
end
|
33
36
|
|
37
|
+
|
38
|
+
it "should produce a dynamic library when dynamic is specified" do
|
39
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
40
|
+
|
41
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
|
42
|
+
command.run
|
43
|
+
|
44
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
45
|
+
file_command = "file #{lib}"
|
46
|
+
output = `#{file_command}`.lines.to_a
|
47
|
+
|
48
|
+
output[0].should.match /Mach-O universal binary with 5 architectures/
|
49
|
+
output[1].should.match /Mach-O dynamically linked shared library i386/
|
50
|
+
end
|
51
|
+
|
52
|
+
it "should link category symbols when dynamic is specified" do
|
53
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
54
|
+
|
55
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
|
56
|
+
command.run
|
57
|
+
|
58
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
59
|
+
file_command = "nm #{lib}"
|
60
|
+
output = `#{file_command}`.lines.to_a
|
61
|
+
|
62
|
+
match = output.detect { |line| line =~ /UIButton\(AFNetworking\)/ }
|
63
|
+
match.should.not.be.empty
|
64
|
+
end
|
65
|
+
|
66
|
+
it "should produce a dynamic library for OSX when dynamic is specified" do
|
67
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
68
|
+
|
69
|
+
command = Command.parse(%w{ package spec/fixtures/KFData.podspec --dynamic })
|
70
|
+
command.run
|
71
|
+
|
72
|
+
lib = Dir.glob("KFData-*/osx/KFData.framework/KFData").first
|
73
|
+
file_command = "file #{lib}"
|
74
|
+
output = `#{file_command}`.lines.to_a
|
75
|
+
|
76
|
+
output[0].should.match /Mach-O 64-bit dynamically linked shared library x86_64/
|
77
|
+
end
|
78
|
+
|
79
|
+
it "should produce a static library when dynamic is not specified" do
|
80
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
81
|
+
|
82
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
|
83
|
+
command.run
|
84
|
+
|
85
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
86
|
+
file_command = "file #{lib}"
|
87
|
+
output = `#{file_command}`.lines.to_a
|
88
|
+
|
89
|
+
output[0].should.match /Mach-O universal binary with 5 architectures/
|
90
|
+
output[1].should.match /current ar archive random library/
|
91
|
+
end
|
92
|
+
|
34
93
|
it "mangles symbols if the Pod has dependencies" do
|
35
|
-
|
94
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
36
95
|
|
37
96
|
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
|
38
97
|
command.run
|
39
98
|
|
40
99
|
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
41
100
|
symbols = Symbols.symbols_from_library(lib).uniq.sort.reject { |e| e =~ /PodNikeKit/ }
|
42
|
-
|
101
|
+
|
102
|
+
symbols.should == %w{ BBUNikePlusActivity BBUNikePlusSessionManager
|
43
103
|
BBUNikePlusTag }
|
44
104
|
end
|
45
105
|
|
106
|
+
it "mangles symbols if the Pod has dependencies and framework is dynamic" do
|
107
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
108
|
+
|
109
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
|
110
|
+
command.run
|
111
|
+
|
112
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
113
|
+
symbols = Symbols.symbols_from_library(lib).uniq.sort.reject { |e| e =~ /PodNikeKit/ }
|
114
|
+
|
115
|
+
symbols.should == %w{ BBUNikePlusActivity BBUNikePlusSessionManager
|
116
|
+
BBUNikePlusTag NikeKitVersionNumber NikeKitVersionString }
|
117
|
+
end
|
118
|
+
|
46
119
|
it "mangles symbols if the Pod has dependencies regardless of name" do
|
47
|
-
|
120
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
48
121
|
|
49
122
|
command = Command.parse(%w{ package spec/fixtures/a.podspec })
|
50
123
|
command.run
|
51
124
|
|
52
125
|
lib = Dir.glob("a-*/ios/a.framework/a").first
|
53
126
|
symbols = Symbols.symbols_from_library(lib).uniq.sort.reject { |e| e =~ /Poda/ }
|
54
|
-
symbols.should == %w{ BBUNikePlusActivity BBUNikePlusSessionManager
|
127
|
+
symbols.should == %w{ BBUNikePlusActivity BBUNikePlusSessionManager
|
55
128
|
BBUNikePlusTag }
|
56
129
|
end
|
57
130
|
|
58
131
|
it "does not mangle symbols if option --no-mangle is specified" do
|
59
|
-
|
132
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
60
133
|
|
61
134
|
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --no-mangle })
|
62
135
|
command.run
|
@@ -66,19 +139,122 @@ module Pod
|
|
66
139
|
symbols.should == []
|
67
140
|
end
|
68
141
|
|
142
|
+
it "does not mangle symbols if option --no-mangle and --dynamic are specified" do
|
143
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
144
|
+
|
145
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --no-mangle --dynamic })
|
146
|
+
command.run
|
147
|
+
|
148
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
149
|
+
symbols = Symbols.symbols_from_library(lib).uniq.sort.select { |e| e =~ /PodNikeKit/ }
|
150
|
+
symbols.should == []
|
151
|
+
end
|
152
|
+
|
153
|
+
it "does not include symbols from dependencies if option --exclude-deps is specified" do
|
154
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
155
|
+
|
156
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --exclude-deps })
|
157
|
+
command.run
|
158
|
+
|
159
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
160
|
+
symbols = Symbols.symbols_from_library(lib).uniq.sort.select { |e| e =~ /AFNetworking|ISO8601DateFormatter|KZPropertyMapper/ }
|
161
|
+
symbols.should == []
|
162
|
+
end
|
163
|
+
|
69
164
|
it "includes the correct architectures when packaging an iOS Pod" do
|
70
|
-
|
165
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
71
166
|
|
72
167
|
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
|
73
168
|
command.run
|
74
169
|
|
170
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
171
|
+
`lipo #{lib} -verify_arch x86_64 i386 armv7 armv7s arm64`
|
172
|
+
$?.success?.should == true
|
173
|
+
end
|
174
|
+
|
175
|
+
it "includes the correct architectures when packaging an iOS Pod as --dynamic" do
|
176
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
177
|
+
|
178
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
|
179
|
+
command.run
|
180
|
+
|
75
181
|
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
76
182
|
`lipo #{lib} -verify_arch armv7 armv7s arm64`
|
77
183
|
$?.success?.should == true
|
78
184
|
end
|
79
185
|
|
186
|
+
it "includes Bitcode for device arch slices when packaging an iOS Pod" do
|
187
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
188
|
+
|
189
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
|
190
|
+
command.run
|
191
|
+
|
192
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
193
|
+
|
194
|
+
#Check for __LLVM segment in each device architecture
|
195
|
+
`lipo -extract armv7 #{lib} -o armv7.a && otool -l armv7.a`.should.match /__LLVM/
|
196
|
+
`lipo -extract armv7s #{lib} -o armv7s.a && otool -l armv7s.a`.should.match /__LLVM/
|
197
|
+
`lipo -extract arm64 #{lib} -o arm64.a && otool -l arm64.a`.should.match /__LLVM/
|
198
|
+
`rm armv7.a armv7s.a arm64.a`
|
199
|
+
end
|
200
|
+
|
201
|
+
it "includes Bitcode for device arch slices when packaging an dynamic iOS Pod" do
|
202
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
203
|
+
|
204
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
|
205
|
+
command.run
|
206
|
+
|
207
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
208
|
+
|
209
|
+
#Check for __LLVM segment in each device architecture
|
210
|
+
`lipo -extract armv7 #{lib} -o armv7.a && otool -l armv7.a`.should.match /__LLVM/
|
211
|
+
`lipo -extract armv7s #{lib} -o armv7s.a && otool -l armv7s.a`.should.match /__LLVM/
|
212
|
+
`lipo -extract arm64 #{lib} -o arm64.a && otool -l arm64.a`.should.match /__LLVM/
|
213
|
+
`rm armv7.a armv7s.a arm64.a`
|
214
|
+
end
|
215
|
+
|
216
|
+
it "does not include Bitcode for simulator arch slices when packaging an iOS Pod" do
|
217
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
218
|
+
|
219
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
|
220
|
+
command.run
|
221
|
+
|
222
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
223
|
+
|
224
|
+
#Check for __LLVM segment in each simulator architecture
|
225
|
+
`lipo -extract i386 #{lib} -o i386.a && otool -l i386.a`.should.not.match /__LLVM/
|
226
|
+
`lipo -extract x86_64 #{lib} -o x86_64.a && otool -l x86_64.a`.should.not.match /__LLVM/
|
227
|
+
`rm i386.a x86_64.a`
|
228
|
+
end
|
229
|
+
|
230
|
+
it "does not include Bitcode for simulator arch slices when packaging an dynamic iOS Pod" do
|
231
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
232
|
+
|
233
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec --dynamic })
|
234
|
+
command.run
|
235
|
+
|
236
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
237
|
+
|
238
|
+
#Check for __LLVM segment in each simulator architecture
|
239
|
+
`lipo -extract i386 #{lib} -o i386.a && otool -l i386.a`.should.not.match /__LLVM/
|
240
|
+
`lipo -extract x86_64 #{lib} -o x86_64.a && otool -l x86_64.a`.should.not.match /__LLVM/
|
241
|
+
`rm i386.a x86_64.a`
|
242
|
+
end
|
243
|
+
|
244
|
+
it "does not include local ModuleCache references" do
|
245
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
246
|
+
|
247
|
+
command = Command.parse(%w{ package spec/fixtures/NikeKit.podspec })
|
248
|
+
command.run
|
249
|
+
|
250
|
+
lib = Dir.glob("NikeKit-*/ios/NikeKit.framework/NikeKit").first
|
251
|
+
|
252
|
+
#Check for ModuleCache references
|
253
|
+
`strings #{lib}`.should.not.match /ModuleCache/
|
254
|
+
end
|
255
|
+
|
80
256
|
it "does not fail when the pod name contains a dash" do
|
81
|
-
|
257
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
82
258
|
|
83
259
|
command = Command.parse(%w{ package spec/fixtures/foo-bar.podspec })
|
84
260
|
command.run
|
@@ -87,7 +263,7 @@ module Pod
|
|
87
263
|
end
|
88
264
|
|
89
265
|
it "runs with a path to a spec" do
|
90
|
-
|
266
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
91
267
|
|
92
268
|
command = Command.parse(%w{ package spec/fixtures/KFData.podspec })
|
93
269
|
command.run
|
@@ -96,7 +272,7 @@ module Pod
|
|
96
272
|
end
|
97
273
|
|
98
274
|
it "it respects module_map directive" do
|
99
|
-
|
275
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
100
276
|
|
101
277
|
command = Command.parse(%w{ package spec/fixtures/FH.podspec })
|
102
278
|
command.run
|
@@ -113,12 +289,12 @@ MAP
|
|
113
289
|
modulemap_contents.should == module_map
|
114
290
|
end
|
115
291
|
|
116
|
-
#it "runs with a spec in the master repository" do
|
292
|
+
# it "runs with a spec in the master repository" do
|
117
293
|
# command = Command.parse(%w{ package KFData })
|
118
294
|
# command.run
|
119
|
-
|
295
|
+
#
|
120
296
|
# true.should == true # To make the test pass without any shoulds
|
121
|
-
#end
|
297
|
+
# end
|
122
298
|
end
|
123
299
|
end
|
124
300
|
end
|
@@ -8,7 +8,7 @@ module Pod
|
|
8
8
|
end
|
9
9
|
|
10
10
|
it 'can package a single subspec' do
|
11
|
-
|
11
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
12
12
|
|
13
13
|
command = Command.parse(%w{ package spec/fixtures/KFData.podspec --subspecs=Core})
|
14
14
|
command.run
|
@@ -17,7 +17,7 @@ module Pod
|
|
17
17
|
end
|
18
18
|
|
19
19
|
it 'can package a list of subspecs' do
|
20
|
-
|
20
|
+
Pod::Config.instance.sources_manager.stubs(:search).returns(nil)
|
21
21
|
|
22
22
|
command = Command.parse(%w{ package spec/fixtures/KFData.podspec --subspecs=Core,Compatibility})
|
23
23
|
command.run
|
@@ -6,12 +6,12 @@ Pod::Spec.new do |s|
|
|
6
6
|
s.homepage = 'https://github.com/kylef/KFData'
|
7
7
|
s.authors = { 'Kyle Fuller' => 'inbox@kylefuller.co.uk' }
|
8
8
|
s.social_media_url = 'https://twitter.com/kylefuller'
|
9
|
-
s.source = { :git => 'https://github.com/
|
9
|
+
s.source = { :git => 'https://github.com/neonichu/KFData.git', :commit => '68ee9d94fbfa4e12db9401dd0dea205c18ad1c01' }
|
10
10
|
|
11
11
|
s.requires_arc = true
|
12
12
|
|
13
13
|
s.osx.deployment_target = '10.7'
|
14
|
-
s.ios.deployment_target = '
|
14
|
+
s.ios.deployment_target = '6.0'
|
15
15
|
|
16
16
|
s.default_subspec = 'Essentials'
|
17
17
|
s.header_dir = 'KFData'
|
@@ -7,15 +7,15 @@
|
|
7
7
|
objects = {
|
8
8
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
|
-
398917245AB663C6A6B1699D /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89D9BEAC4C39BC8A1BC66D18 /* libPods.a */; };
|
11
10
|
9B89D2E019EFC04D00803D42 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B89D2DF19EFC04D00803D42 /* main.m */; };
|
12
11
|
9B89D2E319EFC04D00803D42 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B89D2E219EFC04D00803D42 /* AppDelegate.m */; };
|
12
|
+
A1381F09576636A564E1CE00 /* libPods-LibraryConsumer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1BFA015CA221FE724F8AAB81 /* libPods-LibraryConsumer.a */; };
|
13
13
|
/* End PBXBuildFile section */
|
14
14
|
|
15
15
|
/* Begin PBXFileReference section */
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
1BFA015CA221FE724F8AAB81 /* libPods-LibraryConsumer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-LibraryConsumer.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
17
|
+
833DF35C723143E1561E07BD /* Pods-LibraryConsumer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LibraryConsumer.release.xcconfig"; path = "Pods/Target Support Files/Pods-LibraryConsumer/Pods-LibraryConsumer.release.xcconfig"; sourceTree = "<group>"; };
|
18
|
+
949110D74F158769570CE608 /* Pods-LibraryConsumer.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LibraryConsumer.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LibraryConsumer/Pods-LibraryConsumer.debug.xcconfig"; sourceTree = "<group>"; };
|
19
19
|
9B89D2DA19EFC04D00803D42 /* LibraryConsumer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LibraryConsumer.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
20
20
|
9B89D2DE19EFC04D00803D42 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
21
21
|
9B89D2DF19EFC04D00803D42 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
@@ -28,28 +28,28 @@
|
|
28
28
|
isa = PBXFrameworksBuildPhase;
|
29
29
|
buildActionMask = 2147483647;
|
30
30
|
files = (
|
31
|
-
|
31
|
+
A1381F09576636A564E1CE00 /* libPods-LibraryConsumer.a in Frameworks */,
|
32
32
|
);
|
33
33
|
runOnlyForDeploymentPostprocessing = 0;
|
34
34
|
};
|
35
35
|
/* End PBXFrameworksBuildPhase section */
|
36
36
|
|
37
37
|
/* Begin PBXGroup section */
|
38
|
-
|
38
|
+
002EFF43AAF892C19452B68F /* Pods */ = {
|
39
39
|
isa = PBXGroup;
|
40
40
|
children = (
|
41
|
-
|
41
|
+
949110D74F158769570CE608 /* Pods-LibraryConsumer.debug.xcconfig */,
|
42
|
+
833DF35C723143E1561E07BD /* Pods-LibraryConsumer.release.xcconfig */,
|
42
43
|
);
|
43
|
-
name =
|
44
|
+
name = Pods;
|
44
45
|
sourceTree = "<group>";
|
45
46
|
};
|
46
|
-
|
47
|
+
0F0079FE1A767D050D81CB37 /* Frameworks */ = {
|
47
48
|
isa = PBXGroup;
|
48
49
|
children = (
|
49
|
-
|
50
|
-
3FCB7F0904C14C858A5D1908 /* Pods.release.xcconfig */,
|
50
|
+
1BFA015CA221FE724F8AAB81 /* libPods-LibraryConsumer.a */,
|
51
51
|
);
|
52
|
-
name =
|
52
|
+
name = Frameworks;
|
53
53
|
sourceTree = "<group>";
|
54
54
|
};
|
55
55
|
9B89D2D119EFC04D00803D42 = {
|
@@ -57,8 +57,8 @@
|
|
57
57
|
children = (
|
58
58
|
9B89D2DC19EFC04D00803D42 /* LibraryConsumer */,
|
59
59
|
9B89D2DB19EFC04D00803D42 /* Products */,
|
60
|
-
|
61
|
-
|
60
|
+
002EFF43AAF892C19452B68F /* Pods */,
|
61
|
+
0F0079FE1A767D050D81CB37 /* Frameworks */,
|
62
62
|
);
|
63
63
|
sourceTree = "<group>";
|
64
64
|
};
|
@@ -96,11 +96,12 @@
|
|
96
96
|
isa = PBXNativeTarget;
|
97
97
|
buildConfigurationList = 9B89D2FD19EFC04D00803D42 /* Build configuration list for PBXNativeTarget "LibraryConsumer" */;
|
98
98
|
buildPhases = (
|
99
|
-
|
99
|
+
609F1AB94D442BA83F6D807D /* [CP] Check Pods Manifest.lock */,
|
100
100
|
9B89D2D619EFC04D00803D42 /* Sources */,
|
101
101
|
9B89D2D719EFC04D00803D42 /* Frameworks */,
|
102
102
|
9B89D2D819EFC04D00803D42 /* Resources */,
|
103
|
-
|
103
|
+
0C232370584DD38C8CE0E0D5 /* [CP] Embed Pods Frameworks */,
|
104
|
+
A1D6A1315CB4B288FA80D4FC /* [CP] Copy Pods Resources */,
|
104
105
|
);
|
105
106
|
buildRules = (
|
106
107
|
);
|
@@ -154,14 +155,29 @@
|
|
154
155
|
/* End PBXResourcesBuildPhase section */
|
155
156
|
|
156
157
|
/* Begin PBXShellScriptBuildPhase section */
|
157
|
-
|
158
|
+
0C232370584DD38C8CE0E0D5 /* [CP] Embed Pods Frameworks */ = {
|
159
|
+
isa = PBXShellScriptBuildPhase;
|
160
|
+
buildActionMask = 2147483647;
|
161
|
+
files = (
|
162
|
+
);
|
163
|
+
inputPaths = (
|
164
|
+
);
|
165
|
+
name = "[CP] Embed Pods Frameworks";
|
166
|
+
outputPaths = (
|
167
|
+
);
|
168
|
+
runOnlyForDeploymentPostprocessing = 0;
|
169
|
+
shellPath = /bin/sh;
|
170
|
+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LibraryConsumer/Pods-LibraryConsumer-frameworks.sh\"\n";
|
171
|
+
showEnvVarsInLog = 0;
|
172
|
+
};
|
173
|
+
609F1AB94D442BA83F6D807D /* [CP] Check Pods Manifest.lock */ = {
|
158
174
|
isa = PBXShellScriptBuildPhase;
|
159
175
|
buildActionMask = 2147483647;
|
160
176
|
files = (
|
161
177
|
);
|
162
178
|
inputPaths = (
|
163
179
|
);
|
164
|
-
name = "Check Pods Manifest.lock";
|
180
|
+
name = "[CP] Check Pods Manifest.lock";
|
165
181
|
outputPaths = (
|
166
182
|
);
|
167
183
|
runOnlyForDeploymentPostprocessing = 0;
|
@@ -169,19 +185,19 @@
|
|
169
185
|
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
|
170
186
|
showEnvVarsInLog = 0;
|
171
187
|
};
|
172
|
-
|
188
|
+
A1D6A1315CB4B288FA80D4FC /* [CP] Copy Pods Resources */ = {
|
173
189
|
isa = PBXShellScriptBuildPhase;
|
174
190
|
buildActionMask = 2147483647;
|
175
191
|
files = (
|
176
192
|
);
|
177
193
|
inputPaths = (
|
178
194
|
);
|
179
|
-
name = "Copy Pods Resources";
|
195
|
+
name = "[CP] Copy Pods Resources";
|
180
196
|
outputPaths = (
|
181
197
|
);
|
182
198
|
runOnlyForDeploymentPostprocessing = 0;
|
183
199
|
shellPath = /bin/sh;
|
184
|
-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
|
200
|
+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LibraryConsumer/Pods-LibraryConsumer-resources.sh\"\n";
|
185
201
|
showEnvVarsInLog = 0;
|
186
202
|
};
|
187
203
|
/* End PBXShellScriptBuildPhase section */
|
@@ -277,7 +293,7 @@
|
|
277
293
|
};
|
278
294
|
9B89D2FE19EFC04D00803D42 /* Debug */ = {
|
279
295
|
isa = XCBuildConfiguration;
|
280
|
-
baseConfigurationReference =
|
296
|
+
baseConfigurationReference = 949110D74F158769570CE608 /* Pods-LibraryConsumer.debug.xcconfig */;
|
281
297
|
buildSettings = {
|
282
298
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
283
299
|
INFOPLIST_FILE = LibraryConsumer/Info.plist;
|
@@ -288,7 +304,7 @@
|
|
288
304
|
};
|
289
305
|
9B89D2FF19EFC04D00803D42 /* Release */ = {
|
290
306
|
isa = XCBuildConfiguration;
|
291
|
-
baseConfigurationReference =
|
307
|
+
baseConfigurationReference = 833DF35C723143E1561E07BD /* Pods-LibraryConsumer.release.xcconfig */;
|
292
308
|
buildSettings = {
|
293
309
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
294
310
|
INFOPLIST_FILE = LibraryConsumer/Info.plist;
|