Skip to content

Commit

Permalink
Fix issue with IRGen (#1)
Browse files Browse the repository at this point in the history
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 <brendan.guegan@orange.com>
  • Loading branch information
muukii and brendan-guegan-orange authored Dec 6, 2020
1 parent 02d6105 commit 7aa1880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-binary/rome/build_framework.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def self.build(sandbox_root_path, target, output_path, bitcode_enabled = false,

def self.remove_build_dir(sandbox_root)
path = build_dir(sandbox_root)
path.rmtree if path.exist?
# path.rmtree if path.exist?
end

private
Expand Down

0 comments on commit 7aa1880

Please sign in to comment.