Skip to content

Commit cd50a28

Browse files
committed
Specify pod version for pods that aren’t xcode 9.3 compatible
1 parent f9c4063 commit cd50a28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/change_podfile.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def addSwiftPod():
5353
"""
5454
keep_source_code_for_prebuilt_frameworks!
5555
56-
pod "RxCocoa", :binary => true
56+
pod "RxCocoa", '~> 4.0', :binary => true
5757
pod "Literal", :binary => true
5858
"""),
5959
"""
@@ -70,7 +70,7 @@ def revertToSourceCode():
7070
"""
7171
keep_source_code_for_prebuilt_frameworks!
7272
73-
pod "RxCocoa", :binary => true
73+
pod "RxCocoa", '~> 4.0', :binary => true
7474
pod "Literal"
7575
"""),
7676
"""
@@ -91,7 +91,7 @@ def addDifferentNamePod():
9191
9292
pod "Masonry", :binary => true
9393
pod "Literal", :binary => true
94-
pod "lottie-ios", :binary => true
94+
pod "lottie-ios", "~> 2.5", :binary => true
9595
"""),
9696
"""
9797
import Masonry
@@ -110,7 +110,7 @@ def addSubPod():
110110
"""
111111
pod "Masonry", :binary => true
112112
pod "Literal", :binary => true
113-
pod "lottie-ios", :binary => true
113+
pod "lottie-ios", "~> 2.5", :binary => true
114114
pod "AFNetworking/Reachability", :binary => true
115115
""") ,
116116
"""

0 commit comments

Comments
 (0)