Is it possible to use UI.error, UI.success, ... in the FastlaneSwiftRunner project? #21804
Replies: 3 comments
-
About 5 months ago I asked a question, maybe someone knows something about this topic? |
Beta Was this translation helpful? Give feedback.
-
Hello, Yes, you can use UI.error, UI.success, and other logging methods in a Fastlane SwiftRunner project. These methods are part of Fastlane’s UI module and provide logging capabilities for different message types. Here's how to use them in your Fastfile.swift: import Foundation func customLane() { defaultPlatform(.ios) platform :ios do { Ensure you import the Fastlane module and then use UI.message, UI.success, UI.error, and other methods to log messages. Run the lane using fastlane ios customLane to see the messages in the console. This helps in clearly displaying various types of messages during your CI/CD process. Best Regard, |
Beta Was this translation helpful? Give feedback.
-
@florence0239 Do I need to add an extra package for this because I have an issue with the Fastlane import: |
Beta Was this translation helpful? Give feedback.
-
Is it possible to use UI.error, UI.success, ... in the FastlaneSwiftRunner project?
Beta Was this translation helpful? Give feedback.
All reactions