Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

壳工程打包iOS报错 #90

Open
smile678 opened this issue Jul 6, 2023 · 7 comments
Open

壳工程打包iOS报错 #90

smile678 opened this issue Jul 6, 2023 · 7 comments

Comments

@smile678
Copy link

smile678 commented Jul 6, 2023

壳工程打包iOS报错,执行命令yarn upgradePeerdeps报下面的错误

image

@zhiqingchen
Copy link
Member

应该是新版 cocoapods 的问题

@smile678
Copy link
Author

应该是新版 cocoapods 的问题

➜ taro-native-shell pod --version
1.10.0
➜ taro-native-shell ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]

你好,我现在的pod版本已经不是最新版的了,用的是1.10.0版本,ruby用的3.2.2版本,还是会报这个错

@bosenger
Copy link

image

我在执行yarn upgradePeerdeps时也会遇到相同的问题。

有解决方案了吗?

@zhiqingchen
Copy link
Member

expo这个包有在node_modules中吗

@bosenger
Copy link

最终我是通过rvm重新安装ruby2.7.5版本解决。

解决过程记录在了博客中:

https://www.baozipm.com/archives/1701061112330

@rocona
Copy link

rocona commented Jul 5, 2024

问题在于0.70.0的依赖expo的版本没适配ruby3.2,不过0.73.0版本解决该问题了,请看package.json。不过这个版本后续问题也比较多,大部分还是因为依赖包在xcode15下报错,需要自己修改版本。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants