Describe the bug
The app builds without any Problems and also installs on my phone, but as soon as I start it from Xcode, this error pops up (Logs section). When I install onto an Simulator, it runs fine, but as soon as I run it standalone, the app crashes with the same error that the Library couldn't be found.
To reproduce
Import the Library into SwiftPackageManager and try running the app.
Expected behavior
The app should start without any problems.
Logsdyld[5161]: Library not loaded: @rpath/LDSwiftEventSource.framework/LDSwiftEventSource Referenced from: <A8122676-3D07-3978-B99B-457DD136A6EC> /private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Em4D Reason: tried: '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/preboot/Cryptexes/OS@rpath/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/System/Library/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file, not in dyld cache) Library not loaded: @rpath/LDSwiftEventSource.framework/LDSwiftEventSource Referenced from: <A8122676-3D07-3978-B99B-457DD136A6EC> /private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Em4D Reason: tried: '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/preboot/Cryptexes/OS@rpath/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/System/Libr dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Library version
1.3.1
XCode and Swift version
Xcode 13.4.1, Swift 5.6.1, IOS 16 beta and 15.5
Platform the issue occurs on
iPhone
Additional context
Add any other context about the problem here.
Describe the bug The app builds without any Problems and also installs on my phone, but as soon as I start it from Xcode, this error pops up (Logs section). When I install onto an Simulator, it runs fine, but as soon as I run it standalone, the app crashes with the same error that the Library couldn't be found.
To reproduce Import the Library into SwiftPackageManager and try running the app.
Expected behavior The app should start without any problems.
Logs
dyld[5161]: Library not loaded: @rpath/LDSwiftEventSource.framework/LDSwiftEventSource Referenced from: <A8122676-3D07-3978-B99B-457DD136A6EC> /private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Em4D Reason: tried: '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/preboot/Cryptexes/OS@rpath/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/System/Library/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file, not in dyld cache) Library not loaded: @rpath/LDSwiftEventSource.framework/LDSwiftEventSource Referenced from: <A8122676-3D07-3978-B99B-457DD136A6EC> /private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Em4D Reason: tried: '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/preboot/Cryptexes/OS@rpath/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/private/var/containers/Bundle/Application/94AE1A3D-0930-4205-9CAA-C6DD28758505/Em4D.app/Frameworks/LDSwiftEventSource.framework/LDSwiftEventSource' (no such file), '/System/Libr dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Library version 1.3.1
XCode and Swift version Xcode 13.4.1, Swift 5.6.1, IOS 16 beta and 15.5
Platform the issue occurs on iPhone
Additional context Add any other context about the problem here.