admin管理员组

文章数量:1287611

I update my react native project after I encountered an error in xcode

there is no problem in android

Error:

My new package.json

"@react-native-firebase/admob": "^7.6.10",
"@react-native-firebase/analytics": "^7.6.9",
"@react-native-firebase/app": "^8.4.7",
"@react-native-firebase/auth": "^9.3.2",
"@react-native-firebase/crashlytics": "^8.4.12",
"@react-native-firebase/firestore": "^7.9.1",
"@react-native-firebase/messaging": "^7.9.2",
"@react-navigation/native": "^5.8.2",
"@react-navigation/stack": "^5.11.1",
"dayjs": "^1.9.4",
"i18n-js": "^3.8.0",
"libphonenumber-js": "^1.8.5",
"lodash.memoize": "^4.1.2",
"react": "17.0.1",
"react-native": "0.63.3",

My previous package.json

"@react-native-firebase/admob": "^7.6.9",
"@react-native-firebase/analytics": "^7.6.8",
"@react-native-firebase/app": "^8.4.6",
"@react-native-firebase/auth": "^9.3.1",
"@react-native-firebase/crashlytics": "^8.4.10",
"@react-native-firebase/firestore": "^7.8.7",
"@react-native-firebase/messaging": "^7.9.1",
"@react-navigation/native": "^5.7.6",
"@react-navigation/stack": "^5.9.3",
"dayjs": "^1.9.3",
"i18n-js": "^3.8.0",
"libphonenumber-js": "^1.8.4",
"lodash.memoize": "^4.1.2",
"react": "16.14.0",
"react-native": "0.63.3",

I update my react native project after I encountered an error in xcode

there is no problem in android

Error:

My new package.json

"@react-native-firebase/admob": "^7.6.10",
"@react-native-firebase/analytics": "^7.6.9",
"@react-native-firebase/app": "^8.4.7",
"@react-native-firebase/auth": "^9.3.2",
"@react-native-firebase/crashlytics": "^8.4.12",
"@react-native-firebase/firestore": "^7.9.1",
"@react-native-firebase/messaging": "^7.9.2",
"@react-navigation/native": "^5.8.2",
"@react-navigation/stack": "^5.11.1",
"dayjs": "^1.9.4",
"i18n-js": "^3.8.0",
"libphonenumber-js": "^1.8.5",
"lodash.memoize": "^4.1.2",
"react": "17.0.1",
"react-native": "0.63.3",

My previous package.json

"@react-native-firebase/admob": "^7.6.9",
"@react-native-firebase/analytics": "^7.6.8",
"@react-native-firebase/app": "^8.4.6",
"@react-native-firebase/auth": "^9.3.1",
"@react-native-firebase/crashlytics": "^8.4.10",
"@react-native-firebase/firestore": "^7.8.7",
"@react-native-firebase/messaging": "^7.9.1",
"@react-navigation/native": "^5.7.6",
"@react-navigation/stack": "^5.9.3",
"dayjs": "^1.9.3",
"i18n-js": "^3.8.0",
"libphonenumber-js": "^1.8.4",
"lodash.memoize": "^4.1.2",
"react": "16.14.0",
"react-native": "0.63.3",
Share Improve this question asked Oct 31, 2020 at 15:19 UgurUgur 1,15113 silver badges22 bronze badges 1
  • 1 I had the same error, and I solved it by doing this stackoverflow./a/64687891/4984739 – Dey Commented Nov 4, 2020 at 21:35
Add a ment  | 

2 Answers 2

Reset to default 10

Finally solved the problem. Need to update CocoPods.

sudo gem install cocoapods

And then

pod install

Yes, the problem was cocoapods version.

And not only the old ones but the newest one also.

I upgraded cocoapods and the latest 1.10.1 version was installed.

Looks like it also has a problem. After a couple of hours and a couple of millions dead neuron cells I found out, that cocoapods SHOULD BE DOWNGRADED TO 1.10.0

Hope this information will help others to save time.

本文标签: javascriptframework not found UserMessagingPlatformxcframework in react nativeStack Overflow