File tree 1 file changed +5
-19
lines changed
1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,18 @@ os: osx
2
2
osx_image : xcode11.1
3
3
env :
4
4
global :
5
- - LC_CTYPE=en_US.UTF-8
6
- - LANG=en_US.UTF-8
7
- - WORKSPACE="__PROJECT_NAME__.xcworkspace"
8
- - IOS_FRAMEWORK_SCHEME="xxPROJECTxNAMExx"
5
+ - WORKSPACE="./iOS Example/iOS Example.xcworkspace"
6
+ - IOS_FRAMEWORK_SCHEME="iOS Example"
9
7
- EXAMPLE_SCHEME="iOS Example"
10
8
matrix :
11
- - DESTINATION="OS=12.2,name=iPhone XS" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="NO"
12
- - DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="NO"
13
- - DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="NO"
14
- - DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" POD_LINT="YES"
9
+ - DESTINATION="OS=13.1,name=iPhone 11"
10
+ SCHEME="$IOS_FRAMEWORK_SCHEME"
15
11
script :
16
12
- set -o pipefail
17
13
- xcodebuild -version
18
14
- xcodebuild -showsdks
19
15
- xcodebuild -list
20
16
- xcodebuild -workspace "$WORKSPACE" -list
21
17
22
- # Build Framework in Release and Run Tests
23
- - xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
24
-
25
18
# Build Example in Debug
26
- - xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
27
-
28
- # Run `pod lib lint` if specified
29
- - if [ $POD_LINT == "YES" ]; then
30
- pod lib lint;
31
- fi
32
-
33
- - CheckCocoaPodsQualityIndexes.rb xxPROJECTxNAMExx
19
+ - xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
You can’t perform that action at this time.
0 commit comments