File tree Expand file tree Collapse file tree 2 files changed +43
-2
lines changed Expand file tree Collapse file tree 2 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -147,17 +147,53 @@ def multiplePlatforms():
147147end
148148
149149target 'BinaryWatch Extension' do
150- pod "AFNetworking/Serialization"
150+ platform :watchos
151+ pod "AFNetworking/Serialization", :binary => true
151152""" ) ,
152153"""
153154import Literal
154155import AFNetworking
156+ class A {
157+ let a: CGRect = [1,2,3,4]
158+ func dd() { _ = AFURLRequestSerializationErrorDomain }
159+ }
155160""" ,
156161"""
157162import AFNetworking
163+ class A {
164+ func dd() { _ = AFURLRequestSerializationErrorDomain }
165+ }
158166"""
159167)
160168
169+ def multiplePlatformsWithALLFlag ():
170+ return (wrapper (
171+ """
172+ all_binary!
173+
174+ pod "Literal"
175+ pod "AFNetworking/Serialization"
176+ end
177+
178+ target 'BinaryWatch Extension' do
179+ platform :watchos
180+ pod "AFNetworking/Serialization"
181+ """ ) ,
182+ """
183+ import Literal
184+ import AFNetworking
185+ class A {
186+ let a: CGRect = [1,2,3,4]
187+ func dd() { _ = AFURLRequestSerializationErrorDomain }
188+ }
189+ """ ,
190+ """
191+ import AFNetworking
192+ class A {
193+ func dd() { _ = AFURLRequestSerializationErrorDomain }
194+ }
195+ """
196+ )
161197
162198
163199if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -41,13 +41,18 @@ python change_podfile.py "addVendoredLibPod"
4141pod install
4242build
4343
44+ #
45+ python change_podfile.py " universalFlag"
46+ pod install
47+ build
48+
4449#
4550python change_podfile.py " multiplePlatforms"
4651pod install
4752build
4853
4954#
50- python change_podfile.py " universalFlag "
55+ python change_podfile.py " multiplePlatformsWithALLFlag "
5156pod install
5257build
5358
You can’t perform that action at this time.
0 commit comments