Closed KHPaytalab closed 4 months ago
Swift 5.9 if and switch expressions cause fastlane Error while build_app
build_app(workspace: "passorder.xcworkspace", scheme: "passorder_develop", configuration: "Debug_develop", export_method: "ad-hoc")
❌ /Users/paytalab/passorder/local/passorder-ios/passorder/Modules/CommonUI/CommonUI/UITextField/NewRoundBorderTextField.swift:111:47: expected expression in assignment self?.layer.borderColor = if isError { ^
| Key | Value | | --------------------------- | ---------------------------------------------------------- | | OS | 14.1 | | Ruby | 3.3.0 | | Bundler? | false | | Git | git version 2.39.2 (Apple Git-143) | | Installation Source | /opt/homebrew/Cellar/fastlane/2.220.0/libexec/bin/fastlane | | Host | macOS 14.1 (23B74) | | Ruby Lib Dir | /opt/homebrew/Cellar/ruby/3.3.0/lib | | OpenSSL Version | OpenSSL 3.2.0 23 Nov 2023 | | Is contained | false | | Is homebrew | true | | Is installed via Fabric.app | false | | Xcode Path | /Applications/Xcode.app/Contents/Developer/ | | Xcode Version | 14.3 | | Swift Version | 5.8 |
I found my swift version was 5.8
New Issue Checklist
Issue Description
Swift 5.9 if and switch expressions cause fastlane Error while build_app
Command executed
Complete output when running fastlane, including the stack trace and command used
Environment