iPhone 8 sim doesn't exist on Xcode10 (when targetting watch simulator). Use iPhone XS
This commit is contained in:
parent
887eeb4bc3
commit
f7a37ce72c
|
@ -44,15 +44,15 @@ script:
|
||||||
- echo Build the Demo apps
|
- echo Build the Demo apps
|
||||||
- pod install --project-directory=Examples
|
- pod install --project-directory=Examples
|
||||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX Demo' -sdk macosx -configuration Debug | xcpretty -c
|
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX Demo' -sdk macosx -configuration Debug | xcpretty -c
|
||||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -configuration Debug -destination 'name=iPhone 8' | xcpretty -c
|
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -configuration Debug -destination 'name=iPhone XS' | xcpretty -c
|
||||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage TV Demo' -sdk appletvsimulator -configuration Debug | xcpretty -c
|
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage TV Demo' -sdk appletvsimulator -configuration Debug | xcpretty -c
|
||||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -configuration Debug -destination 'name=iPhone 8' | xcpretty -c
|
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -configuration Debug -destination 'name=iPhone XS' | xcpretty -c
|
||||||
|
|
||||||
- mkdir DerivedData
|
- mkdir DerivedData
|
||||||
|
|
||||||
- echo Run the tests
|
- echo Run the tests
|
||||||
- pod install --project-directory=Tests
|
- pod install --project-directory=Tests
|
||||||
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' -configuration Debug | xcpretty -c
|
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone XS' -configuration Debug | xcpretty -c
|
||||||
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
|
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
|
||||||
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests Mac' -sdk macosx -destination 'platform=OS X,arch=x86_64' -configuration Debug | xcpretty -c
|
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests Mac' -sdk macosx -destination 'platform=OS X,arch=x86_64' -configuration Debug | xcpretty -c
|
||||||
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
|
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
|
||||||
|
|
Loading…
Reference in New Issue