Open
Description
I added ETrace via SPM to my iOS (swift-only) app in XCode. Now when I run my app, it fails to boot with this error:
dyld[5492]: Library not loaded: @rpath/ETTrace.framework/ETTrace
Referenced from: <E2B8FCBC-9CB0-36CA-9146-C1447F66E554> /private/var/containers/Bundle/Application/D12861D7-F626-41AB-BC18-28457F218810/App.app/App
Reason: tried: '/Users/me/Library/Developer/Xcode/DerivedData/App-cklguuvlmfepaxaevnzjgkgtwzmc/Build/Products/Debug-iphoneos/PackageFrameworks/ETTrace.framework/ETTrace' (no such file), '/private/preboot/Cryptexes/OS/Users/me/Library/Developer/Xcode/DerivedData/App-cklguuvlmfepaxaevnzjgkgtwzmc/Build/Products/Debug-iphoneos/PackageFrameworks/ETTrace.framework/ETTrace' (no such file), '/private/var/containers/Bundle/Application/D12861D7-F626-41AB-BC18-28457F218810/Frameworks/ETTrace.framework/ETTrace' (no such file), '/Users/me/Library/Developer/Xcode/DerivedData/App-cklguuvlmfepaxaevnzjgkgtwzmc/Build/Products/Debug-iphoneos/PackageFrameworks/ETTrace.framework/ETTrace' (no such file), '/private/preboot/Cryptexes/OS/Users/me/Library/Developer/Xcode/DerivedData/App-cklguuvlmfepaxaevnzjgkgtwzmc/Build/Products/Debug-iphoneos/PackageFrameworks/ETTrace.framework/ETTrace' (no such file), '/private/var/containers/Bundle/Application/D12861D7-F626-41AB-BC18-28457F218810/Frameworks/ETTrace.framework/ETTrace' (no such file)
Things I've tried:
- Making sure I have set "ETrace to 'Embed & Sign'
- Playing around with "Destination" in Build Phases -> Embed Frameworks (I tried "Frameworks", "Shared Frameworks" and "Products Directory"
Here are screenshots of the relevant sections:


The weirdest thing is that if I look in /Users/me/Library/Developer/Xcode/DerivedData/App-cklguuvlmfepaxaevnzjgkgtwzmc/Build/Products/Debug-iphoneos/PackageFrameworks/ETTrace.framework/ETTrace
(the first path that it says it tried), I can see that ETTrace actually does exist.
Metadata
Metadata
Assignees
Labels
No labels