-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
One is not able to run the po command in LLDB when linked to recent versions of mParticle.
Environment
- Xcode 14.2.0
- mParticle-Apple-SDK 8.14.1
Steps to reproduce
- Integrate mParticle 8.14.1 via SPM in your project (8.13.0 and above should be affected as well)
- Add a breakpoint somewhere
- Launch your project in an iOS simulator
- Make sure it reaches the breakpoint
- Use the
pocommand in the debugger. For examplepo footo print the description offoo
Actual Result:
The debugger command fails:
(lldb) po foo
error: expression failed to parse:
error: virtual filesystem overlay file '/Users/runner/Library/Developer/Xcode/DerivedData/mParticle-Apple-SDK-bqixaejagpemcucwbbovvcavmgpa/Build/Intermediates.noindex/ArchiveIntermediates/mParticle-Apple-SDK/IntermediateBuildFilesPath/mParticle-Apple-SDK.build/Release-iphonesimulator/mParticle-Apple-SDK.build/all-product-headers.yaml' not found
error: virtual filesystem overlay file '/Users/runner/Library/Developer/Xcode/DerivedData/mParticle-Apple-SDK-bqixaejagpemcucwbbovvcavmgpa/Build/Intermediates.noindex/ArchiveIntermediates/mParticle-Apple-SDK/IntermediateBuildFilesPath/mParticle-Apple-SDK.build/Release-iphonesimulator/mParticle-Apple-SDK.build/all-product-headers.yaml' not found
error: couldn't IRGen expression. Please check the above error messages for possible root causes.
Expected result
The debugger command should be executed without any error.
Sample project
- Add a breakpoint in
mParticleAbsolutePathDemoTests.testExample() - Run the test in an iOS simulator
- Run
po fooin the debugger
Notes
- The same issue happens for the "mParticle-Apple-SDK-NoLocation" target as well
- I guess its the same issue as '... all-product-headers.yaml' not found facebook/facebook-ios-sdk#1628 . Compiling the frameworks with
-no-serialize-debugging-optionscould resolve this issue.
RamithaW and alpriest-sky
Metadata
Metadata
Assignees
Labels
No labels