Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cocoapods ffi error can be in stdout or stderr #121470

Merged
merged 4 commits into from Feb 28, 2023
Merged

Conversation

tvolkert
Copy link
Contributor

@tvolkert tvolkert commented Feb 26, 2023

I was seeing the following error show up in stdout:

LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009)
...

And it was solved by running:

sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc

#99195

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Feb 26, 2023
Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

x-ref #102327

packages/flutter_tools/lib/src/macos/cocoapods.dart Outdated Show resolved Hide resolved
tvolkert and others added 3 commits February 27, 2023 13:20
I was seeing the following error show up in _stdout_:

```
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009)
...
```

And it was solved by running:

```sh
sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc
```
….dart

Co-authored-by: Christopher Fujino <fujino@google.com>
Co-authored-by: Jenn Magder <magder@google.com>
Copy link
Member

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tvolkert tvolkert added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 27, 2023
Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @tvolkert!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants