Skip to content

Commit

Permalink
[Fastlane.Swift] Swift fastlane does not run on Apple Silicon fastlan…
Browse files Browse the repository at this point in the history
…e#18502

* [Swift] Restore values previous to this PR
  • Loading branch information
kikeenrique committed Dec 6, 2021
1 parent 214d2e2 commit 66371bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fastlane/swift/Runner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ extension Runner: SocketClientDelegateProtocol {
returnValue = returnedObject
if let command = currentlyExecutingCommand as? RubyCommand {
if let closureArgumentValue = closureArgumentValue, !closureArgumentValue.isEmpty {
command.performCallback(callbackArg: closureArgumentValue, socket: socketClient) { [self] in
executeNext[command.id] = true
command.performCallback(callbackArg: closureArgumentValue, socket: socketClient) {
self.executeNext[command.id] = true
}
} else {
executeNext[command.id] = true
Expand Down
4 changes: 2 additions & 2 deletions fastlane/swift/SocketClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ class SocketClient: NSObject {
self.inputStream.delegate = self
self.outputStream.delegate = self

self.inputStream.schedule(in: .main, forMode: RunLoopMode.defaultRunLoopMode)
self.outputStream.schedule(in: .main, forMode: RunLoopMode.defaultRunLoopMode)
self.inputStream.schedule(in: .main, forMode: .defaultRunLoopMode)
self.outputStream.schedule(in: .main, forMode: .defaultRunLoopMode)
}

dispatchGroup.enter()
Expand Down

0 comments on commit 66371bc

Please sign in to comment.