You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used upgrade-helper to do my upgrade.
and also used "react-native upgrade"
Upgrading version
72.5
Description
I'm trying to upgrade to 72.5 from 67.4. Have used "react-native upgrade" to upgrade the app. Was able to install packages and pods fine. When I ran "yarn ios", the build is failing with
CompileC /Users/sree/Library/Developer/Xcode/DerivedData/mymicrosoft-cbolrmmnrcgabpfpuznqcuaoiuxs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Yoga.build/Objects-normal/x86_64/Yoga.o /Users/sree/work/MEE-PRO-EEP-UX-Client/mobile/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Yoga' from project 'Pods')
(1 failure)
and
…./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:184:16: error: no member named 'didUseLegacyFlag' in 'YGNode'
return node->didUseLegacyFlag();
~~~~ ^
…./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:977:28: error: no member named 'doesLegacyStretchFlagAffectsLayout' in 'YGLayout'
return node->getLayout().doesLegacyStretchFlagAffectsLayout();
~~~~~~~~~~~~~~~~~ ^
…/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:2968:17: error: no member named 'setLayoutDidUseLegacyFlag' in 'YGNode'
node->setLayoutDidUseLegacyFlag(true);
~~~~ ^
…/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:4214:13: error: no member named 'didUseLegacyFlag' in 'YGNode'
node->didUseLegacyFlag()) {
~~~~ ^
…./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:4252:35: error: no member named 'isLayoutTreeEqualToNode' in 'YGNode'
!nodeWithoutLegacyFlag->isLayoutTreeEqualToNode(*node);
~~~~~~~~~~~~~~~~~~~~~ ^
…../node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:4253:13: error: no member named 'setLayoutDoesLegacyFlagAffectsLayout' in 'YGNode'
node->setLayoutDoesLegacyFlagAffectsLayout(neededLegacyStretchBehaviour);
~~~~ ^
6 errors generated.
Reproducible demo
yarn ios
The text was updated successfully, but these errors were encountered:
puttagunta
changed the title
YGNode missing members issue with 72.5 upgrade on mac
YGNode missing members issue with 72.5, 72.4 upgrade on mac
Oct 4, 2023
Environment
ystem:
OS: macOS 14.0
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 27.05 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 16.14.2
path: ~/.nvm/versions/node/v16.14.2/bin/node
Yarn:
version: 1.22.19
path: ~/.nvm/versions/node/v12.22.12/bin/yarn
npm:
version: 8.5.0
path: ~/.nvm/versions/node/v16.14.2/bin/npm
Watchman:
version: 2023.09.25.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /Users/sree/.rvm/rubies/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK:
API Levels:
- "23"
- "27"
- "28"
- "29"
- "30"
- "31"
- "33"
Build Tools:
- 29.0.2
- 30.0.2
- 30.0.3
- 32.0.0
System Images:
- android-29 | Google APIs Intel x86 Atom
- android-30 | Google APIs Intel x86_64 Atom
- android-34 | Google Play Intel x86_64 Atom
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10671973
Xcode:
version: 15.0/15A240d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20.1
path: /usr/local/opt/openjdk@11/bin/javac
Ruby:
version: 2.7.4
path: /Users/sree/.rvm/rubies/ruby-2.7.4/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: false
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Things I’ve done to figure out my issue
and also used "react-native upgrade"
Upgrading version
72.5
Description
I'm trying to upgrade to 72.5 from 67.4. Have used "react-native upgrade" to upgrade the app. Was able to install packages and pods fine. When I ran "yarn ios", the build is failing with
(1 failure)
and
…./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:184:16: error: no member named 'didUseLegacyFlag' in 'YGNode'
return node->didUseLegacyFlag();
~~~~ ^
…./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:977:28: error: no member named 'doesLegacyStretchFlagAffectsLayout' in 'YGLayout'
return node->getLayout().doesLegacyStretchFlagAffectsLayout();
~~~~~~~~~~~~~~~~~ ^
…/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:2968:17: error: no member named 'setLayoutDidUseLegacyFlag' in 'YGNode'
node->setLayoutDidUseLegacyFlag(true);
~~~~ ^
…/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:4214:13: error: no member named 'didUseLegacyFlag' in 'YGNode'
node->didUseLegacyFlag()) {
~~~~ ^
…./node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:4252:35: error: no member named 'isLayoutTreeEqualToNode' in 'YGNode'
!nodeWithoutLegacyFlag->isLayoutTreeEqualToNode(*node);
~~~~~~~~~~~~~~~~~~~~~ ^
…../node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:4253:13: error: no member named 'setLayoutDoesLegacyFlagAffectsLayout' in 'YGNode'
node->setLayoutDoesLegacyFlagAffectsLayout(neededLegacyStretchBehaviour);
~~~~ ^
6 errors generated.
Reproducible demo
yarn ios
The text was updated successfully, but these errors were encountered: