Skip to content

Commit 7aa1880

Browse files
Fix issue with IRGen (#1)
During debugging session, with the use of pods installed via Cocoapods-binary, the console in Xcode displays error messages while executing following expression: `po self` The error looks the following one: ``` Printing description of self: expression produced error: error: virtual filesystem overlay file '/path/to/project/Pods/build/Pods.build/Release-iphoneos/Charts.build/all-product-headers.yaml' not found error: couldn't IRGen expression. Please check the above error messages for possible root causes. ``` The issue is not related to Charts pod, but to every pod used. To fix the issue, I just removed the line that delete the build folder generated during the precompiling of pods. THis folder contains for each pod, the `all-product-headers.yaml` expected by Xcode. Co-authored-by: Brendan Guegan <[email protected]>
1 parent 02d6105 commit 7aa1880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cocoapods-binary/rome/build_framework.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def self.build(sandbox_root_path, target, output_path, bitcode_enabled = false,
188188

189189
def self.remove_build_dir(sandbox_root)
190190
path = build_dir(sandbox_root)
191-
path.rmtree if path.exist?
191+
# path.rmtree if path.exist?
192192
end
193193

194194
private

0 commit comments

Comments
 (0)