Description
A Release build produced with xcodebuild build crashes on launch once the .app is moved out of DerivedData (e.g. copied to /Applications). The MediaRemoteAdapter Swift package product is linked but the app target has no Embed Frameworks phase, so the dynamic framework is never copied into Contents/Frameworks/ and is resolved only via a DerivedData rpath.
Steps to Reproduce
xcodebuild -project Fluid.xcodeproj -scheme Fluid -configuration Release build
- Copy the resulting
FluidVoice.app to /Applications.
- Launch it.
Expected Behavior
The app launches.
Actual Behavior
The app fails to launch:
dyld: Library not loaded: @rpath/MediaRemoteAdapter.framework/Versions/A/MediaRemoteAdapter
ls FluidVoice.app/Contents/Frameworks/ shows the framework is absent (the folder does not exist).
Environment
- FluidVoice: 1.6.2 (Release, built locally)
- macOS: 26.5.2
- Architecture: Apple Silicon (arm64)
Notes
Archive/Organizer exports embed the framework implicitly, so this only affects plain build products. Fix incoming.
Description
A Release build produced with
xcodebuild buildcrashes on launch once the.appis moved out of DerivedData (e.g. copied to/Applications). TheMediaRemoteAdapterSwift package product is linked but the app target has no Embed Frameworks phase, so the dynamic framework is never copied intoContents/Frameworks/and is resolved only via a DerivedData rpath.Steps to Reproduce
xcodebuild -project Fluid.xcodeproj -scheme Fluid -configuration Release buildFluidVoice.appto/Applications.Expected Behavior
The app launches.
Actual Behavior
The app fails to launch:
ls FluidVoice.app/Contents/Frameworks/shows the framework is absent (the folder does not exist).Environment
Notes
Archive/Organizer exports embed the framework implicitly, so this only affects plain
buildproducts. Fix incoming.