Closed
Description
Description
many glog error message when build on xcode:
Use of undeclared identifier 'GOOGLE_NAMESPACE'
Unknown type name 'START_GOOGLE_NAMESPACE'
Use of undeclared identifier 'GLOG_FATAL'
expanded from macro 'DEFINE_int32'
I try to do follow steps many times but not work:
rm -rf ~/Library/Caches/CocoaPods;
rm -rf Pods;
rm -rf ~/Library/Developer/Xcode/DerivedData/*;
pod deintegrate;
pod setup;
pod install;
rm node_modules
yarn install
Steps to reproduce
it works well two days ago.
1 . yarn install aliyun-react-native-push and build on xcode occur error "duplicate symbols for architecture x86_64"
2. yarn remove aliyun-react-native-push
3. build on xcode but fail
React Native Version
0.74.1
Affected Platforms
Build - MacOS
Output of npx react-native info
warn Package react-native-amap3d contains invalid configuration: "dependency.platforms.ios.project" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
OS: macOS 14.2
CPU: (8) arm64 Apple M3
Memory: 93.98 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.19.1
path: /usr/local/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.4
path: /usr/local/bin/npm
Watchman:
version: 2024.05.06.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK: Not Found
IDEs:
Android Studio: 2023.3 AI-233.14808.21.2331.11709847
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 3.3.1
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.6
wanted: 0.74.6
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.76.6 is now available (your project is running on v0.74.6).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.76.6
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.74.6
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
Stacktrace or Logs
none
Reproducer
none