mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Switch to Xcode 15 (with the iOS 16.4 Simulator for tests still) (#2113)
* Use Xcode 15 in GitHub actions. Use iOS 16.4 simulators from Xcode 14 as iOS 17.0.1 simulators are **super** slow. * Fix failing preview snapshots. Snapshot fix. * Improve setup * Regenerate snapshots that had a conflict. --------- Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
This commit is contained in:
parent
390bf08bab
commit
d03c97a02a
7
.github/workflows/unit_tests.yml
vendored
7
.github/workflows/unit_tests.yml
vendored
@ -38,6 +38,13 @@ jobs:
|
||||
- name: SwiftFormat
|
||||
run:
|
||||
swiftformat --lint .
|
||||
|
||||
- name: Link to 16.4 Simulators
|
||||
run: |
|
||||
echo "Creating Runtimes folder if needed..."
|
||||
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
|
||||
echo "Creating symlink of the iOS 16.4 runtime..."
|
||||
sudo ln -s /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 16.4.simruntime
|
||||
|
||||
- name: Run tests
|
||||
run: bundle exec fastlane unit_tests
|
||||
|
@ -21,6 +21,7 @@ import XCTest
|
||||
|
||||
@MainActor
|
||||
class AudioPlayerStateTests: XCTestCase {
|
||||
static let audioDuration = 10.0
|
||||
private var audioPlayerState: AudioPlayerState!
|
||||
private var audioPlayerMock: AudioPlayerMock!
|
||||
|
||||
@ -48,8 +49,11 @@ class AudioPlayerStateTests: XCTestCase {
|
||||
override func setUp() async throws {
|
||||
audioPlayerActionsSubject = .init()
|
||||
audioPlayerSeekCallsSubject = .init()
|
||||
audioPlayerState = AudioPlayerState(id: .timelineItemIdentifier(.random), duration: 10.0)
|
||||
audioPlayerState = AudioPlayerState(id: .timelineItemIdentifier(.random), duration: Self.audioDuration)
|
||||
audioPlayerMock = buildAudioPlayerMock()
|
||||
audioPlayerMock.seekToClosure = { [weak self] progress in
|
||||
self?.audioPlayerMock.currentTime = Self.audioDuration * progress
|
||||
}
|
||||
}
|
||||
|
||||
func testAttach() async throws {
|
||||
|
BIN
UnitTests/__Snapshots__/PreviewTests/test_analyticsPromptScreen.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_analyticsPromptScreen.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_appLockSetupBiometricsScreen.Face-ID.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_appLockSetupBiometricsScreen.Face-ID.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_appLockSetupBiometricsScreen.Touch-ID.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_appLockSetupBiometricsScreen.Touch-ID.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_encryptedHistoryRoomTimelineView.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_encryptedHistoryRoomTimelineView.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_fullscreenDialog.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_fullscreenDialog.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_homeScreenRecoveryKeyConfirmationBanner.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_homeScreenRecoveryKeyConfirmationBanner.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_homeScreenSessionVerificationBanner.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_homeScreenSessionVerificationBanner.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_invitesScreen.Some-Invite.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_invitesScreen.Some-Invite.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_invitesScreenCell.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_invitesScreenCell.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.Credentials-Entered.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.Credentials-Entered.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.OIDC-Fallback.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.OIDC-Fallback.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.Unsupported.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.Unsupported.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.matrix-org.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_loginScreen.matrix-org.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_longPressWithFeedback.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_longPressWithFeedback.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_onboardingScreen.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_onboardingScreen.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.All-Users.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.All-Users.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loaded-Long-Own.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loaded-Long-Own.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loaded-Long.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loaded-Long.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loading-Own.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loading-Own.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loading.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pillView.Loading.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_placeholderScreen.Screen.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_placeholderScreen.Screen.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_placeholderScreen.With-background.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_placeholderScreen.With-background.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollOptionView.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollOptionView.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Creator-disclosed-Bubble.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Creator-disclosed-Bubble.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Creator-disclosed-Plain.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Creator-disclosed-Plain.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Disclosed-Bubble.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Disclosed-Bubble.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Disclosed-Plain.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Disclosed-Plain.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Disclosed-Bubble.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Disclosed-Bubble.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Disclosed-Plain.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Disclosed-Plain.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Undisclosed-Bubble.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Undisclosed-Bubble.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Undisclosed-Plain.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Ended-Undisclosed-Plain.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Undisclosed-Bubble.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Undisclosed-Bubble.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Undisclosed-Plain.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_pollRoomTimelineView.Undisclosed-Plain.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_reactionsSummaryView.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_reactionsSummaryView.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_roomScreen.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_roomScreen.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupKeyBackupScreen.Set-up.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupKeyBackupScreen.Set-up.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupLogoutConfirmationScreen.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupLogoutConfirmationScreen.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupRecoveryKeyScreen.Incomplete.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupRecoveryKeyScreen.Incomplete.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupRecoveryKeyScreen.Not-set-up.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupRecoveryKeyScreen.Not-set-up.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupRecoveryKeyScreen.Set-up.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_secureBackupRecoveryKeyScreen.Set-up.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverConfirmationScreen.Login.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverConfirmationScreen.Login.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverConfirmationScreen.Register.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverConfirmationScreen.Register.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.2.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.2.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.3.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.3.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.4.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_serverSelection.4.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Cancelled.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Cancelled.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Initial.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Initial.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Request-Accepted.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Request-Accepted.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Requesting-Verification.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Requesting-Verification.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Showing-Challenge.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Showing-Challenge.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Verified.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_sessionVerification.Verified.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.2.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.2.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.3.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.3.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.4.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.4.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.5.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_softLogoutScreen.5.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_swipeRightAction.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_swipeRightAction.1.png
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_timelineReadReceiptsView.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_timelineReadReceiptsView.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_timelineView.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_timelineView.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_uITimelineView.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_uITimelineView.1.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_waitlistScreen.Success.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_waitlistScreen.Success.png
(Stored with Git LFS)
Binary file not shown.
BIN
UnitTests/__Snapshots__/PreviewTests/test_welcomeScreen.1.png
(Stored with Git LFS)
BIN
UnitTests/__Snapshots__/PreviewTests/test_welcomeScreen.1.png
(Stored with Git LFS)
Binary file not shown.
1
changelog.d/pr-2007.build
Normal file
1
changelog.d/pr-2007.build
Normal file
@ -0,0 +1 @@
|
||||
Adopt Xcode 15 (sticking with iOS 16 simulator on CI).
|
@ -3,7 +3,7 @@ require 'semantic'
|
||||
require_relative 'changelog'
|
||||
|
||||
before_all do
|
||||
xcversion(version: "~> 14.3")
|
||||
xcversion(version: "~> 15.0")
|
||||
|
||||
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "180"
|
||||
ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = "180"
|
||||
@ -76,6 +76,12 @@ lane :alpha do
|
||||
end
|
||||
|
||||
lane :unit_tests do
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone 14 (16.4)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-16-4"
|
||||
)
|
||||
|
||||
run_tests(
|
||||
scheme: "UnitTests",
|
||||
device: 'iPhone 14 (16.4)',
|
||||
@ -97,9 +103,16 @@ lane :ui_tests do |options|
|
||||
# Use a fresh simulator state to ensure hardware keyboard isn't attached.
|
||||
reset_simulator_contents()
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone 14 (16.4)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-16-4"
|
||||
)
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPad (9th generation)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation"
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-16-4"
|
||||
)
|
||||
|
||||
if options[:test_name]
|
||||
@ -141,7 +154,8 @@ lane :integration_tests do
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone 14 Pro",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro"
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro",
|
||||
runtime: "com.apple.CoreSimulator.SimRuntime.iOS-16-4"
|
||||
)
|
||||
|
||||
run_tests(
|
||||
@ -411,13 +425,16 @@ private_lane :create_simulator_if_necessary do |options|
|
||||
|
||||
simulator_type = options[:type]
|
||||
UI.user_error!("Invalid simulator type") unless !simulator_type.to_s.empty?
|
||||
|
||||
simulator_runtime = options[:runtime]
|
||||
UI.user_error!("Invalid simulator runtime") unless !simulator_runtime.to_s.empty?
|
||||
|
||||
|
||||
# Use use a `(` here to avoid matching `iPhone 14 Pro` on `iPhone 14 Pro Max` for example
|
||||
# Use a `(` here to avoid matching `iPhone 14 Pro` on `iPhone 14 Pro Max` for example
|
||||
begin sh("xcrun simctl list devices | grep '#{simulator_name} ('")
|
||||
UI.success "Simulator already exists"
|
||||
rescue
|
||||
sh("xcrun simctl create '#{simulator_name}' #{simulator_type}")
|
||||
sh("xcrun simctl create '#{simulator_name}' #{simulator_type} #{simulator_runtime}")
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user