Reputation: 1299
I found that the project would fail to build (error:image not loaded) if the normal third-party framework does't set as "embedded" in the project settings. However, this time, I rebuilt this third-party framework as XCFramework, and everything goes fine with "Do Not Embed" settings for XCFramework.
Should I embed XCFramework or not?
Upvotes: 8
Views: 3539
Reputation: 983
Select "Embed & Sign"
to avoid image not found
crash when running apps on physical device which contains any third-party XCFrameworks.
This option can be selected from linked xcframework under Targets -> General -> Frameworks, Libraries and Embedded Content
.
But the application with xcframework will work fine in simulator with any of options available from Do Not Embed
, Embed & Sign
or Embed Without Signing
.
Upvotes: 11