I’m migrating my app and it’s frameworks to SPM and Tuist. The app target builds successfully but then fails to install to the simulator with this error:
Failed to load Info.plist from bundle at path /Users/RElli9/Library/Developer/CoreSimulator/Devices/EEEF4E99-CCAF-4F14-89EC-DB7D98571257/data/Library/Caches/com.apple.mobile.installd.staging/temp.1kyxh8/extracted/NPOS.app/Frameworks/RetailCheckoutCapabilityImplementation.framework
RetailCheckoutCapabilityImplementation is one of our internal dependencies, it’s also been migrated to SPM. This error seems to be related to specifying this dependency as a dynamic framework in Tuist/Package.swift i.e.:
let packageSettings = PackageSettings(
productTypes: [
// all of my frameworks listed here
"RetailCheckoutCapabilityImplementation": .framework,
If I leave it as productTypes: [:] then it installs and runs. But I need to use dynamic frameworks because I’m running into duplicate symbol warnings from some 3rd-party binaries (among other reasons).
I’ve confirmed that the RetailCheckoutCapabilityImplementation.framework folder in DerivedData does indeed contain an Info.plist. The path in the error message seems to be temporary – the whole folder at com.apple.mobile.installd.staging is empty by the time this error appears. I can see it populated with a new temp.xxxx folder briefly but it doesn’t stick around long enough to see what it contains.
Could anyone help me troubleshoot this? I’m stumped on what to even try next. I didn’t find anything on this forum with this type of error, and my google searches are not turning up anything relevant.
