在反应原生中找不到框架 UserMessagingPlatform.xcframework

Ugu*_*gur 4 javascript mobile xcode ios react-native

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

安卓没有问题

错误: 在此处输入图片说明

我的新 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",
Run Code Online (Sandbox Code Playgroud)

我之前的 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",
Run Code Online (Sandbox Code Playgroud)

Ugu*_*gur 7

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

sudo gem install cocoapods
Run Code Online (Sandbox Code Playgroud)

进而

pod install
Run Code Online (Sandbox Code Playgroud)

  • +1000 谢谢OP。我将 cocoapods 从 1.7.5 更新到 1.10.0,并再次为该项目安装 pod。然后就成功了。 (2认同)