首页 > 解决方案 > 从脚本阶段获取输出文件

问题描述

我想使用 LicensePlist 在我的应用程序中获取许可证。

根据this document,我将此脚本添加到我的应用程序中:

LICENSE_OUTPUT_FILE = "$ {PROJECT_NAME} /Licenses/license.html"

if which license-plist> / dev / null; then
license-plist --output-path "LicensePlistOutput" --html-path $ LICENSE_OUTPUT_FILE
fi

在此处输入图像描述

当我构建我的应用程序时,这个脚本会自动运行吗?如何获取license.html路径?

标签: iosswiftxcode

解决方案


推荐阅读