Post

Replies

Boosts

Views

Activity

Reply to Xcode Previews don't work with Package that includes a .binaryTarget
I encountered same exact problem. RemoteHumanReadableError: Failed to update preview. Error encountered when sending 'previewInstances' message to agent. ================================== | RemoteHumanReadableError |   | LoadingError: failed to load library at path "/Users/won/Library/Developer/Xcode/DerivedData/Manhwakyung-ios-galpxdndpxrpxwescmggerjjhokl/Build/Intermediates.noindex/Previews/MHKUI/Products/Debug-iphonesimulator/PackageFrameworks/MHKUI_CB8D5E841E3_PackageProduct.framework/MHKUI_CB8D5E841E3_PackageProduct": Optional(dlopen(/Users/won/Library/Developer/Xcode/DerivedData/Manhwakyung-ios-galpxdndpxrpxwescmggerjjhokl/Build/Intermediates.noindex/Previews/MHKUI/Products/Debug-iphonesimulator/PackageFrameworks/MHKUI_CB8D5E841E3_PackageProduct.framework/MHKUI_CB8D5E841E3_PackageProduct, 0): Library not loaded: @rpath/SnapKit.framework/SnapKit |  Referenced from: /Users/won/Library/Developer/Xcode/DerivedData/Manhwakyung-ios-galpxdndpxrpxwescmggerjjhokl/Build/Intermediates.noindex/Previews/MHKUI/Products/Debug-iphonesimulator/PackageFrameworks/MHKUI_CB8D5E841E3_PackageProduct.framework/MHKUI_CB8D5E841E3_PackageProduct |  Reason: image not found)
Jul ’21