Repository navigation
Declaration of 'YGValue' must be imported from module 'yoga.yoga.YGNode' before it is required #33815
Copy link
Copy link
Closed
Labels
Impact: Errors During BuildNeeds: TaskThis issue has been triaged but it does not have an associated taskThis issue has been triaged but it does not have an associated taskPlatform: iOSiOS applications.iOS applications.Priority: LowStaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.Tech: React Native CoreIssue related to the Core of React NativeIssue related to the Core of React NativeType: Old ArchitectureFor issues related to the old architectureFor issues related to the old architecture
Description
Activity
i have noticed the issue but my cocoapods version is latest(1.11.3), i tried downgrade cocoapods version to 1.9.1,but i got the error “React need at least 1.10.1”
- addedPlatform: iOSiOS applications.iOS applications.Type: Old ArchitectureFor issues related to the old architectureFor issues related to the old architectureTech: React Native CoreIssue related to the Core of React NativeIssue related to the Core of React NativeNeeds: TaskThis issue has been triaged but it does not have an associated taskThis issue has been triaged but it does not have an associated taskand removed
on May 17, 2022 As mentioned here #33648 , temporary solution is to add a line in the install / build proccess
rm -rf node_modules ios/Pods yarn sed -i -e "s/spec.module_name = 'yoga'/spec.module_name = 'Yoga'/g" node_modules/react-native/ReactCommon/yoga/Yoga.podspec npx pod-install expo run:iosI figured that when Obj-C++ is used for given files, error is fixed #33976 (comment)
Reacted by mfik and Bardiamist- added a commit that references this issue
on Jun 29, 2022 - added a commit that references this issue
on Jun 29, 2022 This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
- addedStaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
on Feb 7, 2023 This issue was closed because it has been stalled for 7 days with no activity.
- locked as resolved and limited conversation to collaborators
on Feb 15, 2023
Metadata
Metadata
Assignees
Labels
Impact: Errors During BuildNeeds: TaskThis issue has been triaged but it does not have an associated taskThis issue has been triaged but it does not have an associated taskPlatform: iOSiOS applications.iOS applications.Priority: LowStaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.Tech: React Native CoreIssue related to the Core of React NativeIssue related to the Core of React NativeType: Old ArchitectureFor issues related to the old architectureFor issues related to the old architecture

Description
i run a react-navive project, npm install and pod install succeed,when i run the project igot the error
Version
0.67.4
Output of
npx react-native infoSystem:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 652.55 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 18.0.0 - /usr/local/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 8.6.0 - /usr/local/bin/npm
Watchman: 2022.03.21.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/fengxiaolin/.rvm/rubies/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.4 => 0.67.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
built framework
Snack, code example, screenshot, or link to a repository