-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Description
Building app fails with Metro bundler error: 'import.meta' is currently unsupported on both iOS and Android. iOS build fails with xcodebuild exit code 65
Environment:
- React Native: 0.82.1
- React: 19.1.1
- Node: 22.x
- Platform: iOS & Android
- Metro: 0.83.3
Packages installed:
- @reown/appkit-react-native: ^2.0.1
- @reown/appkit-solana-react-native: ^2.0.1
- @reown/appkit-wagmi-react-native: ^2.0.1
- @walletconnect/react-native-compat: ^2.23.0
- viem: 2.x
- wagmi: ^2.19.4
AppKit SDK version
@reown/appkit-react-native 2.0.1
Output of npx react-native info
System:
OS: macOS 26.1
CPU: (11) arm64 Apple M3 Pro
Memory: 238.83 MB / 18.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.12.0
path: /Users/nick/.nvm/versions/node/v22.12.0/bin/node
Yarn:
version: 1.22.22
path: /Users/nick/.nvm/versions/node/v22.12.0/bin/yarn
npm:
version: 10.9.0
path: /Users/nick/.nvm/versions/node/v22.12.0/bin/npm
Watchman:
version: 2024.05.06.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/nick/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.1
- iOS 26.1
- macOS 26.1
- tvOS 26.1
- visionOS 26.1
- watchOS 26.1
Android SDK: Not Found
IDEs:
Android Studio: 2025.1 AI-251.27812.49.2514.14217341
Xcode:
version: 26.1.1/17B100
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.17
path: /usr/bin/javac
Ruby:
version: 3.3.9
path: /Users/nick/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.1
wanted: 19.1.1
react-native:
installed: 0.82.1
wanted: 0.82.1
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Expo Version (if applies)
No response
Steps to reproduce
- Create bare React Native 0.82.1 project
- Install packages:
yarn add @reown/appkit-react-native @reown/appkit-solana-react-native @reown/appkit-wagmi-react-native @walletconnect/react-native-compat wagmi viem@2.x - Run: npx react-native run-ios
- Build fails with 'import.meta' is currently unsupported error
Snack, code example, screenshot, or link to a repository
