fix(ffi): Fix xcframework release script, add missing module map
This commit is contained in:
@@ -179,6 +179,13 @@ fn build_xcframework(
|
||||
|
||||
rename(generated_dir.join("matrix_sdk_ffiFFI.h"), headers_dir.join("matrix_sdk_ffiFFI.h"))?;
|
||||
|
||||
// Move and rename the module map to `module.modulemap` to match what
|
||||
// the xcframework expects
|
||||
rename(
|
||||
generated_dir.join("matrix_sdk_ffiFFI.modulemap"),
|
||||
headers_dir.join("module.modulemap"),
|
||||
)?;
|
||||
|
||||
rename(generated_dir.join("matrix_sdk_ffi.swift"), swift_dir.join("matrix_sdk_ffi.swift"))?;
|
||||
|
||||
println!("-- Generate MatrixSDKFFI.xcframework framework");
|
||||
|
||||
Reference in New Issue
Block a user