问题
Let's say that I only wanted to link https://github.com/pmusolino/Wormholy to my iOS app on non-RELEASE configurations using SPM.
Is there a way to do this?
回答1:
- Make Link optional
- Update the
EXCLUDED_SOURCE_FILE_NAMES
forRelease
to exclude the framework, e.g.Wormholy*
来源:https://stackoverflow.com/questions/62837730/swift-package-manager-exclude-from-release