Swift 包管理器:从发布中排除 [英] Swift Package Manager: Exclude from Release
本文介绍了Swift 包管理器:从发布中排除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我只想链接 https://github.com/pmusolino/Wormholy使用 SPM 在非 RELEASE 配置上访问我的 iOS 应用.
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?
推荐答案
- 将链接设为可选
- 更新
EXCLUDED_SOURCE_FILE_NAMES
的Release
以排除框架,例如虫圣*
- Make Link optional
- Update the
EXCLUDED_SOURCE_FILE_NAMES
forRelease
to exclude the framework, e.g.Wormholy*
这篇关于Swift 包管理器:从发布中排除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文