After unlink all packages it again following modules are linked manually while react-native upgrade - react-native

I have updated react-native version to latest.
So I have unlink all manually linked packages. But If i run react-native run-ios after pod install it shows the list of packages again to unlink.
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually
When pod install it shows the below error
[!] CocoaPods could not find compatible versions for pod "react-native-webview":
In Podfile:
react-native-webview (from `../node_modules/react-native-webview`)
Specs satisfying the `react-native-webview (from `../node_modules/react-native-webview`)` dependency were found, but they required a higher minimum deployment target.

I have changed the platform ios to 9.0 in podfile. It worked for me

Related

problem with expo react native navigation

i am using react-native with expo to run my app on my android devices when i load my app on my terminal i have this error
Some dependencies are incompatible with the installed expo package version:
#react-native-community/masked-view - expected version: 0.1.10 - actual version installed: 0.1.11
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo install [package-name ...]
Missing package "metro-config" in the project at: C:\Users\kabore\Desktop\react_native\app1
This usually means react-native is not installed. Please verify that dependencies in package.json include "react-native" and run yarn or npm install.
Error: Missing package "metro-config" in the project at: C:\Users\kabore\Desktop\react_nativ
simply remove the node_modules folder and run yarn install or npm install in the command line to install dependencies again .it seems like some of your dependencies are not installed correctly

Unable to find a specification for `React-callinvoker` depended upon by `RNReanimated`

I'm trying to run pod install in the ios folder and I get this error.
omsonone#Oms-MacBook-Pro ios % pod install
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Detected React Native module pods for RNCMaskedView, RNReanimated, RNScreens, react-native-camera, react-native-safe-area-context, and react-native-save-view
Analyzing dependencies
[!] Unable to find a specification for `React-callinvoker` depended upon by `RNReanimated`
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.
I tried pod repo update but it doesn't help. I'm not sure what to do.

React Native - CocoaPods could not find compatible versions for pod "FBReactNativeSpec"

The react native version has been updated from 0.61.5 to 0.65.0.
After pod install I receive an error stating,
[!] CocoaPods could not find compatible versions for pod "FBReactNativeSpec":
In Podfile:
FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
Specs satisfying the `FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)` dependency were found, but they required a higher minimum deployment target.
The path for FBReactNativeSpec in Podfile is,
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/React/FBReactNativeSpec"
I cannot figure out how to resolve this.
try updating the platform version in your podfile.
platform :ios, '11.0' => change 11 to 15.
This worked for me
This could be an error with dependency, you may need to install react-native-codegen library like:
If you're using yarn packager:
yarn add --dev react-native-codegen
If you're using npm packager:
npm install react-native-codegen --force
And it will add the library in package.json
"dependencies": {
"react-native-codegen": "^0.0.7"
}
Check this link out for more info.
Also, I'll recommend you to follow React Native Upgrade Helper document for Package.json and Podfile changes.

Uninstall package linked in cocoa pods for react native 0.63

I have an npm package I installed which I linked to cocoa pods via
npx pod install
I am looking to uninstall this pod as I have already uninstalled the npm package and am having trouble finding an article I am confident in trying since I am new to react-native and want to avoid crashing my app by making a mistake. Is there any easy process to complete this task?
EXTRA
xCode 12.4
React Native 0.63
When you do Pod install, it checks package.json and install pods for only those packages thats requires pod installation. RN v0.63 handles linking and unlinking itself, you don't need to worry about that, it has nothing to do with pod install command. Just do npm uninstall <package-name> and then re-run pod install to update pods as per package.json.

Attempted to register RCTBridgeModule class LRNAnimationViewManager for the name 'LottieAnimationView', but name was already registered by

I am trying to run 'lottie' for React Native however after successful XCODE build, I get an error:
Attempted to register RCTBridgeModule class LRNAnimationViewManager for the name 'LottieAnimationView', but name was already registered by...
Similar issue:
Attempted to register RCTBridgeModule class RCTFileReaderModule.
Uninstalling, unlinking and reinstalling, relinking does not seem to work. Installed the correct version of 'lottie-ios', 'lottie-react-native' associated with >RN 0.58 on:
https://github.com/react-native-community/lottie-react-native/blob/master/README.md#getting-started.
Also tried adding "Lottie.framework" in the 'embedded framework' tab of XCODE. I am trying to set up the animation screens using this package.
Any leads/suggestions welcomed and thanks in advance!
The versions of lottie-ios and lottie-react-native matter depending on the react-native version you have on your package.json.
For React Native == 0.59.x (which is used by Expo sdk 35 and 36):
Install lottie-react-native (3.0.2) and lottie-ios (3.0.3):
yarn add lottie-react-native#3.0.2
yarn add lottie-ios#3.0.3
or
npm i --save lottie-react-native#3.0.2
npm i --save lottie-ios#3.0.3
Do not use react-native link to add the library to your project, if you are using ExpoKit.
react-native link lottie-ios
react-native link lottie-react-native
Note:
Go to your ios folder and run:
pod install
If you get the error:
[!] CocoaPods could not find compatible versions for pod "lottie-ios":
In snapshot (Podfile.lock):
lottie-ios
In Podfile:
ExpoKit/Core (from `http://github.com/expo/expo.git`, tag `ios/2.13.0`) was resolved to 35.0.0, which depends on
lottie-ios (~> 2.5.0)
lottie-ios (from `../node_modules/lottie-ios`)
You would better remove the pod lottie-ios and pod lottie-react-native from your Podfile, because ExpoKit will have the dependencies sorted out when you run pod install.