简体   繁体   中英

Build Error (IOS) after installing expo in a bare React Native Project

I created a React Native Project using React Native CLI then installed expo as mentioned in the documentation here

I used the Automatic Method and ran npx install-expo-modules@latest After that I ran npx pod-install then npx react-native run-ios

But I am getting the following error after that,

在此处输入图像描述

I have the following dependencies,

"expo": "^47.0.0",
"react": "18.2.0",
"react-native": "0.71.1",

What am I doing wrong here?

I had the same issue and I just needed to add a distribution certificate to the MacOS key chain, this person's issue on GitHub gives you a good idea on how to do it: https://github.com/expo/eas-cli/issues/1331 . I highly recommend viewing the post by KiwiKilian . You can access it here

After adding the certificate to the keychain, the error just went away for me.

Useful resources

Hope it helped!!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM