Setting dependency only for specific configuration in Tuist like CocoaPods

I am newbie in Tuist. I want to use this dependency only for Debug build setting. But I not found any setting about this in Tuist.

In Cocoapods, below code is work.

pod "HyperioniOS/Core", :configurations => ['Debug']

current Tuist version is 3.40.0

To be able to use Hyperion framework only in Debug build.

Customize Debug Configuration:**

  • Within the debug configuration, you can set specific build settings for the Hyperion framework. For example, you might want to disable bitcode for debugging purposes:

Swift.debug(name: "Debug", settings: .init( buildSettings: [ "ENABLE_BITCODE" : "NO", ] ))

Generate Xcode Project:

  • Run the tuist generate command in your project’s root directory to generate the Xcode project with the Hyperion dependency and the specified Debug configuration.

Import Hyperion in Your Code:**

  • In your Swift code, import the Hyperion framework:
    Swift
import Hyperion