古詩詞大全網 - 個性簽名 - com.apple.dt.MobileDeviceErrorDomain

com.apple.dt.MobileDeviceErrorDomain

修改 TARGETS -> General -> Frameworks, Libraries, and Embedded Content 下

新引入的Framework 的 Embed 方式

修改為

macOS:macOS Big Sur 11.4

iOS:14.6

iPhone:iPhone XR

Xcode:Version 12.5 (12E262)

真機調試報這樣壹個錯誤:

展開Details如圖

第3方SDK導致的簽名問題

通過file命令,得到結果是

輸出結果為

說明是壹個靜態庫,我們選擇 Do not embed

參考鏈接

Do not embed static frameworks and libraries (linking happens at build time), only shared ones (dynamic linking happens at run time, so they need to be in your bundle).

不要嵌入靜態框架和庫(鏈接發生在構建時),只嵌入***享的框架和庫(動態鏈接發生在運行時,所以它們需要在妳的包中)。

file frameworkToLink.framework/frameworkToLink will return:

Not required if it already has a proper signature (adhoc doesn't count).

codesign -dv frameworkToLink.framework will return:

what is the difference between Embedded Binaries and Linked Frameworks

deepL 機翻