Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set a Swift Package in Debug Configurations only using Swift Package Manager

With CocoaPods, we can set the following configurations:

pod 'SourceModel', :configurations => ['Debug']

Is there any way to do the same with Swift Package Manager?

like image 905
Tal Zion Avatar asked Sep 02 '25 05:09

Tal Zion


1 Answers

I remember a proposal request that was supposed to support it and was supposed to be implemented in Swift 5.3 but I'm not sure it was fully implemented. Nevertheless, here the link to the proposal request

SE‐0273

like image 118
Gutty1 Avatar answered Sep 05 '25 02:09

Gutty1