Post

Replies

Boosts

Views

Activity

Reply to Xcode Previews don't work with Package that includes a .binaryTarget
With Xcode 12.5 RC1 released this week, the build now succeeds, but the we get a failing error when trying to open the Preview: RemoteHumanReadableError: Failed to update preview. Error encountered when sending 'previewInstances' message to agent. ================================== | RemoteHumanReadableError |   | LoadingError: failed to load library at path "/Users/mthole/Library/Developer/Xcode/DerivedData/DuplicateTasksOnPreview-bkclfnyhkfofwaaulhpstpdjggqb/Build/Intermediates.noindex/Previews/MyLibrary/Products/Debug-iphonesimulator/PackageFrameworks/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct.framework/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct": Optional(dlopen(/Users/mthole/Library/Developer/Xcode/DerivedData/DuplicateTasksOnPreview-bkclfnyhkfofwaaulhpstpdjggqb/Build/Intermediates.noindex/Previews/MyLibrary/Products/Debug-iphonesimulator/PackageFrameworks/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct.framework/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct, 0): Library not loaded: @rpath/NewRelic.framework/NewRelic |  Referenced from: /Users/mthole/Library/Developer/Xcode/DerivedData/DuplicateTasksOnPreview-bkclfnyhkfofwaaulhpstpdjggqb/Build/Intermediates.noindex/Previews/MyLibrary/Products/Debug-iphonesimulator/PackageFrameworks/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct.framework/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct |  Reason: image not found)
Apr ’21