繁体   English   中英

如何清除Fastlane Gym输出目录?

[英]How to clear Fastlane gym output directory?

我尝试使用Fastlane构建我的iOS应用。 到目前为止,该方法有效,但仅适用于首次构建。

如果我尝试重建项目,则会收到以下错误消息:

xcodebuild: error: Existing file at -resultBundlePath "xxx/output/Jenkins.result"

这是我的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

清除输出目录缺少什么?

使用删除工作区插件或unix shell( rm -f )或Windows shell( rmdir /s /q )命令。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM