目录

Swift-手动导入-RxSwift.xcframework-报错

Swift 手动导入 RxSwift.xcframework 报错

0x00 问题

The signature of “RxCocoa.xcframework” cannot be validated and may have been compromised.

Validation Error: A sealed resource is missing or invalid


0x01 办法

手动修复签名,能 Build 成功!

打开终端,重新签名:

codesign --force --deep --sign - xxx/xxx/RxSwift.xcframework

codesign --force --deep --sign - xxx/xxx/RxCocoa.xcframework

修改 Embed 方式: Embed & Sign

https://i-blog.csdnimg.cn/direct/1f1027c1ebfc48fbb030996b6da60355.png

Build Success!

使用真机测试~OK

(2025-03-13 09:35:09)