Preserve symlinks in WebRTC.framework to avoid bundle signing failure
This commit is contained in:
parent
6bdb08ab9c
commit
0ef62fc334
2 changed files with 12 additions and 2 deletions
|
@ -128,9 +128,20 @@ fn swift_package_root() -> PathBuf {
|
|||
}
|
||||
|
||||
fn copy_dir(source: &Path, destination: &Path) {
|
||||
assert!(
|
||||
Command::new("rm")
|
||||
.arg("-rf")
|
||||
.arg(destination)
|
||||
.status()
|
||||
.unwrap()
|
||||
.success(),
|
||||
"could not remove {:?} before copying",
|
||||
destination
|
||||
);
|
||||
|
||||
assert!(
|
||||
Command::new("cp")
|
||||
.arg("-r")
|
||||
.arg("-R")
|
||||
.args(&[source, destination])
|
||||
.status()
|
||||
.unwrap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue