`po` command fails to work after importing XCFramework

We imported pure Swift XCFramework into Swift application. On setting the breaking point and trying the po command the following error is seen

error: virtual filesystem overlay file '/Users/rakshitha/Library/Developer/Xcode/DerivedData/ABC-agkiherlqdmvaeakrqtfvsowceuq/Build/Intermediates.noindex/ArchiveIntermediates/ABCDE/IntermediateBuildFilesPath/ABC.build/Release-iphonesimulator/ABCDE.build/all-product-headers.yaml' not found
error: virtual filesystem overlay file '/Users/rakshitha/Library/Developer/Xcode/DerivedData/ABC-agkiherlqdmvaeakrqtfvsowceuq/Build/Intermediates.noindex/ArchiveIntermediates/ABCDE/IntermediateBuildFilesPath/MoEngage.build/Release-iphonesimulator/ABCDE.build/all-product-headers.yaml' not found

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

Solutions Tried:

  1. XCFramework was created with dsym and BCSymbolMaps
  2. XCFramework created without dsym and BCSymbolMaps
  3. Set the Other Swift Flags to -Xfrontend -no-serialize-debugging-options

None of the above solutions worked

Note:

  1. The XCFramework was generated in Xcode 13.4.
  2. The Swift version for generated XCFramework is Swift 5.
  3. XCFramework contains support for iOS and tvOS.
  4. The Sample application was tested in the same Xcode and swift version.

Below is the script used to generate XCFramework

Replies

I don’t have an answer for you but I do have a suggestion as to where to look.

ps I still haven’t watch that video myself )-:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"