react-native-safe-area-context
react-native-safe-area-context copied to clipboard
Installation not working
Hey. Im trying to install navigation in my application.
Environment:
MacBook Pro M1 | 12.5 Xcode 13.4.1 Node 18.6.0 Npm 8.15.0
These are the dependencies:
"react": "17.0.2",
"react-native": "0.68.2",
"react-native-permissions": "3.6.0",
"react-native-safe-area-context": "4.1.4" and "4.3.1",
"react-native-screens": "^3.15.0"
This is the error I'm getting. I've tried updating repo and it did not help.
Scanning for pods...
1.11.3
> pod install
Auto-linking React Native modules for target `test`: RNCAsyncStorage, RNPermissions, RNScreens, react-native-test, and react-native-safe-area-context
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `React-RCTFabric` depended upon by `react-native-safe-area-context/fabric`
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Couldn't install Pods. Updating the Pods project and trying again...
> pod install --repo-update
Auto-linking React Native modules for target `test`: RNCAsyncStorage, RNPermissions, RNScreens, react-native-test, and react-native-safe-area-context
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `React-RCTFabric` depended upon by `react-native-safe-area-context/fabric`
You have either:
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Unable to find a specification for `React-RCTFabric` depended upon by `react-native-safe-area-context/fabric`
You have either:
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Same issue here.
I have to downgrade it to 3.3.2.
Same problem too, will works if you downgraded for 3.4.1
same to me, version 4.2.4
out-of-date source repos which you can update with
pod repo updateor withpod install --repo-update.
Run one of those commands