-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When I try the run my application with the GoogleCast SPM package as a dependency on device it crashed with the following error:
dyld[1167]: Library not loaded: @rpath/GoogleCast.framework/GoogleCast
Referenced from: <985F8464-A939-3FA6-B0DF-B0928A8C4A79> /private/var/containers/Bundle/Application/43B71238-03E5-4692-A732-98611DE9BE00/Dumpert Staging.app/Dumpert Staging.debug.dylib
Reason: tried: '<redacted>/Library/Developer/Xcode/DerivedData/Dumpert-hfclcxibczqnjggalsbctcbxrqoe/Build/Products/Debug-iphoneos/PackageFrameworks/GoogleCast.framework/GoogleCast' (no such file), '/private/preboot/Cryptexes/OS/<redacted>/Library/Developer/Xcode/DerivedData/Dumpert-hfclcxibczqnjggalsbctcbxrqoe/Build/Products/Debug-iphoneos/PackageFrameworks/GoogleCast.framework/GoogleCast' (no such file), '/private/var/containers/Bundle/Application/43B71238-03E5-4692-A732-98611DE9BE00/Dumpert Staging.app/GoogleCast.framework/GoogleCast' (no such file), '<redacted>/Library/Developer/Xcode/DerivedData/Dumpert-hfclcxibczqnjggalsbctcbxrqoe/Build/Products/Debug-iphoneos/PackageFrameworks/GoogleCast.framework/GoogleCast' (no such file), '/private/preboot/Cryptexes/OS/<redacted>/Library/Developer/Xcode/DerivedData/Dumpert-hfclcxibczqnjggalsbctcbxrqoe/Build/Products/Debug-iphoneos/PackageFrameworks/GoogleCast.framework/GoogleCast' (no such file), '/private/var/containers/Bundle/Application/43B71238-03E5-4692-A732-98611DE9BE00/Dumpert Staging.app/GoogleCast.framework/GoogleCast' (no such file), '<redacted>/Library/Developer/Xcode/DerivedData/Dumpert-hfclcxibczqnjggalsbctcbxrqoe/Build/Products/Debug-iphoneos/PackageFrameworks/GoogleCast.framework/GoogleCast' (no such file), '/private/preboot/Cryptexes/OS/<redacted>/Library/Developer/Xcode/DerivedData/Dumpert-hfclcxibczqnjggalsbctcbxrqoe/Build/Products/Debug-iphoneos/PackageFrameworks/GoogleCast.framework/GoogleCast' (no such file)
When I inspect the folder structure I notice that the GoogleCast.framework is not inside the PackageFrameworks folder, but inside the folder itself, but I haven't found any reason why it even looks at the PackageFrameworks folder, because it is empty after building.
Metadata
Metadata
Assignees
Labels
No labels