question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running Xcode's "analyze" on Yoga code surfaces issues

See original GitHub issue

run react-native run-ios command

Description

The following commands produced analyzer issues: Analyze /Users/kenny/projects/almondWallet/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c

Analyze /Users/kenny/projects/almondWallet/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c (2 commands with analyzer issues)

The following build commands failed: Analyze /Users/kenny/projects/almondWallet/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c Analyze /Users/kenny/projects/almondWallet/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c (2 failures)

Additional Information

  • React Native version: 0.41.2
  • Platform: iOS
  • Operating System: MacOS

Please tell me, how to fix Yoga analyze issues, thanks guys!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:19
  • Comments:37

github_iconTop GitHub Comments

153reactions
taiki-tcommented, Mar 4, 2017

I had the same issue and for my case, deleting ios/build directory and re-running react-native run-ios solved. Errors shown were something like this:

PCH was compiled with module cache path '/old_path/ios/build/ModuleCache/241WD87OSBWAM', but the path is currently 'new-path/ios/build/ModuleCache/241WD87OSBWAM'

This happened as I imported most of project files from another project.

64reactions
ODelibaltacommented, Jul 8, 2017

Deleting ios/build did not fix my issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Detect bugs early with the static analyzer - WWDC21 - Videos
Discover how Xcode can automatically track down infinite loops, unused code, and other issues before you even run your app. Learn how, with...
Read more >
Diagnosing memory, thread, and crash issues early
Identify runtime crashes and undefined behaviors in your app during testing using Xcode's sanitizer tools.
Read more >
[Solved]-starter application react native error - appsloveworld.com
Update your versions of node, npm and xCode. Run 'react-native init yourAppName';; Run in yourAppNameFolder 'npm i' - to install all needed dependencies, ......
Read more >
ios - "Redefinition of module ..." when building for simulator
I've tried cleaning and rebuilding, deleting the contents of the Library/Developer/Xcode/DerivedData folder, deleting the pod's modulemap file, ...
Read more >
Lexicon 480l Manual Pdf (2022) - salbert.blogs.muhlenberg.edu
Controlling how Xcode builds source code into executables. Analyzing processor and memory ... examine and apply sport management principles to legal issues.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found