舊版本Xcode 打出來的framework 新版本不兼容問題 swift

生成framework的時(shí)候?qū)od的

Build libraries for Distribution 設(shè)置成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)

這種錯(cuò)誤情況應(yīng)當(dāng)很多,我說下我約到的場景,因?yàn)槲业腶pp不支持模擬器, 所以 Architecures 一直設(shè)置的是arm64, 當(dāng)我想添加 watch app時(shí)就出現(xiàn)這個(gè)錯(cuò)誤了,換正常的就可以了

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

Validate workspace  設(shè)置為。yes

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

image.png
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容