Swift Package Manager: Exclude from Release

流过昼夜 提交于 2020-08-06 05:01:29

问题


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:


  1. Make Link optional
  2. Update the EXCLUDED_SOURCE_FILE_NAMES for Release to exclude the framework, e.g. Wormholy*


来源:https://stackoverflow.com/questions/62837730/swift-package-manager-exclude-from-release

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!