旧版本Xcode 打出来的framework 新版本不兼容问题 swift

生成framework的时候将pod的

Build libraries for Distribution 设置成yes


image.png
error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.

    Embedded Binary Signing Certificate:    Not Code Signed
    Parent App Signing Certificate:         iPhone Developer: Emil Adz (9QNEF95395)

这种错误情况应当很多,我说下我约到的场景,因为我的app不支持模拟器, 所以 Architecures 一直设置的是arm64, 当我想添加 watch app时就出现这个错误了,换正常的就可以了

but the linked and embedded framework 'DDoctorSDK.framework' was built for iOS + iOS Simulator.

Validate workspace  设置为。yes

Reason: image not found
dyld: launch, loading dependent libraries

image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容