生成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