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:
- XCFramework was created with dsym and BCSymbolMaps
- XCFramework created without dsym and BCSymbolMaps
- Set the Other Swift Flags to -Xfrontend -no-serialize-debugging-options
None of the above solutions worked
Note:
- The XCFramework was generated in Xcode 13.4.
- The Swift version for generated XCFramework is Swift 5.
- XCFramework contains support for iOS and tvOS.
- The Sample application was tested in the same Xcode and swift version.
Below is the script used to generate XCFramework