我尝试使用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
清除输出目录缺少什么?