[英]How to clear Fastlane gym output directory?
I try to build my iOS app with Fastlane . 我尝试使用Fastlane构建我的iOS应用。 That works so far but only for the first build. 到目前为止,该方法有效,但仅适用于首次构建。
If I try to rebuild the project I get this error message: 如果我尝试重建项目,则会收到以下错误消息:
xcodebuild: error: Existing file at -resultBundlePath "xxx/output/Jenkins.result"
This is my Fastlane config: 这是我的Fastlane配置:
lane :jenkins do
setup_jenkins(
force: '1',
unlock_keychain: '1',
keychain_path: "~/Library/Keychains/login.keychain",
keychain_password: "xxx",
code_signing_identity: "xxx"
)
clean_build_artifacts
clear_derived_data
gym(
workspace: "Travel.xcworkspace",
configuration: "Release",
scheme: "Jenkins",
silent: true,
clean: true,
export_method: "app-store"
)
end
What is missing to clear the output directory? 清除输出目录缺少什么?
使用删除工作区插件或unix shell( rm -f
)或Windows shell( rmdir /s /q
)命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.