I believe this is a new failure with 0.9.0.
cargo swift package -n RfeSwift -y
generates
✔ Generating Swift bindings... x Creating XCFramework...
Failed due to the following error:
Failed to create XCFramework due to the following error:
Failed to patch the XCFramework: Failed to patch "RfeSwift/RustFramework.xcframework/macos-arm64_x86_64": Failed to remove unpatched directory "RfeSwift/RustFramework.xcframework/macos-arm64_x86_64/headers": No such file or directory (os error 2)
on a case-sensitive filesystem. When I look inside that directory, I see Headers, not headers. The same command works on a case-insensitive filesystem (which is the default on macos). In xcframework.rs I see the string "headers" in multiple places, such as headers.push("headers");. I suspect this is the issue.
I believe this is a new failure with 0.9.0.
cargo swift package -n RfeSwift -ygenerates
on a case-sensitive filesystem. When I look inside that directory, I see Headers, not headers. The same command works on a case-insensitive filesystem (which is the default on macos). In xcframework.rs I see the string "headers" in multiple places, such as
headers.push("headers");. I suspect this is the issue.