在反应原生中找不到框架 UserMessagingPlatform.xcframework [英] framework not found UserMessagingPlatform.xcframework in react native

查看:46
本文介绍了在反应原生中找不到框架 UserMessagingPlatform.xcframework的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 xcode 中遇到错误后更新了我的 React Native 项目

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

安卓没有问题

错误:

我的新 package.json

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",

我之前的 package.json

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",

推荐答案

终于解决了问题.需要更新 CocoPods.

Finally solved the problem. Need to update CocoPods.

sudo gem install cocoapods

然后

pod install

这篇关于在反应原生中找不到框架 UserMessagingPlatform.xcframework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆