Skip to content

Commit c9810c1

Browse files
committed
fix test compile for xcode 10.2
1 parent 551bc5b commit c9810c1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

test/change_podfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
def wrapper(content):
55
return """
66
platform :ios, '9.0'
7+
inhibit_all_warnings!
78
use_frameworks!
89
plugin "cocoapods-binary"
910
@@ -98,7 +99,7 @@ def addDifferentNamePod():
9899
import Lottie
99100
class A {
100101
let a: CGRect = [1,2,3,4]
101-
let a2 = LOTAnimationView.self
102+
let a2 = AnimationView.self
102103
let d = UIView().mas_top
103104
}
104105
""")
@@ -119,7 +120,7 @@ def addSubPod():
119120
import AFNetworking
120121
class A {
121122
let a: CGRect = [1,2,3,4]
122-
let a2 = LOTAnimationView.self
123+
let a2 = AnimationView.self
123124
let b = AFNetworkReachabilityManager()
124125
let d = UIView().mas_top
125126
}

test/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
set -e
33

44
build() {
5-
xcodebuild -workspace Binary.xcworkspace -scheme Binary ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -quiet || exit 1
6-
}
5+
xcodebuild -workspace Binary.xcworkspace -scheme Binary ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -quiet || exit 1
6+
}
77

88
rm -rf Pods
99

0 commit comments

Comments
 (0)