Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt to use -f option when XCFramework is already exist #81

Open
giginet opened this issue Jul 27, 2023 · 1 comment
Open

Prompt to use -f option when XCFramework is already exist #81

giginet opened this issue Jul 27, 2023 · 1 comment

Comments

@giginet
Copy link
Owner

giginet commented Jul 27, 2023

#79 (comment)

@ikesyo
Copy link
Collaborator

ikesyo commented Oct 4, 2024

ref:

if fileSystem.exists(destinationPath.absolutePath) && overwrite {
logger.info("🗑️ Delete \(frameworkName)", metadata: .color(.red))
try fileSystem.removeFileTree(destinationPath.absolutePath)
}
try fileSystem.copy(
from: sourcePath,
to: destinationPath.absolutePath.spmAbsolutePath
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants