Skip to main content
1 of 2

Missing file from sfmc-sdk-ios - Hardcoded path to all-product-headers.yaml

When trying to debug our application via LLDB, when I try and print out a variable using po object, it reports an error saying that it can't find all-product-headers.yaml. Here's the specific error:

error: expression failed to parse:
error: virtual filesystem overlay file '/Users/eyehuda/Library/Developer/Xcode/DerivedData/MarketingCloudSDK-hisiggctcgcrahehtsfqvxhdfinf/Build/Intermediates.noindex/ArchiveIntermediates/MarketingCloudSDK/IntermediateBuildFilesPath/MarketingCloudSDK.build/Release-iphonesimulator/MarketingCloudSDK.build/all-product-headers.yaml' not found
error: virtual filesystem overlay file '/Users/eyehuda/Library/Developer/Xcode/DerivedData/MarketingCloudSDK-hisiggctcgcrahehtsfqvxhdfinf/Build/Intermediates.noindex/ArchiveIntermediates/MarketingCloudSDK/IntermediateBuildFilesPath/MarketingCloudSDK.build/Release-iphonesimulator/MarketingCloudSDK.build/all-product-headers.yaml' not found

error: couldn't IRGen expression. Please check the above error messages for possible root causes.

It looks like that file was added with a hardcoded path when the framework was built? Is it possible to get the path to it corrected? I found a similar issue here https://github.com/facebook/facebook-ios-sdk/issues/1628#issuecomment-771462320 with a potential solution.

Any ideas on a way around it?