react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Cannot run 'yarn example ios'

Open daniel-keen opened this issue 3 years ago • 3 comments

Environment

OS: Mac OS 12.1 Monterey yarn version: v1.22.17

Description

I have been following "react native: native modules" tutorial. Unfortunately at the "yarn example ios" step I receive a bunch of log messages followed by this error: error Command failed with exit code 1.

Logs attached to the issue: yarn_example_ios_logs.txt

Reproducible Demo

Simply follow the tutorial steps.

daniel-keen avatar Feb 02 '22 10:02 daniel-keen

The issue is related to flipper. I would suggest commenting out the flipper plugin code in Podfile inside ./example/ios/ Run pod install once again and try to run the app after that It will fix the crash

Reason is, the library still uses RN 0.63.4 and the flipper issue has been fixed in new RN versions

nikhil-kumar-160 avatar Feb 02 '22 13:02 nikhil-kumar-160

@nikhil-kumar-160 Thank you for the answer! Indeed, I commented the use_flipper!({ 'Flipper' => '0.80.0' }) line. I then ran yarn example ios command and it worked successfully!

daniel-keen avatar Feb 09 '22 21:02 daniel-keen

Same problem, above solved the issue.

ugglr avatar Mar 22 '22 03:03 ugglr

Can you provide repro steps for the issue?

satya164 avatar Jul 04 '23 10:07 satya164