taro-native-shell icon indicating copy to clipboard operation
taro-native-shell copied to clipboard

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

Open Slngle opened this issue 1 year ago • 3 comments

Command pod install failed. └─ Cause: Invalid Podfile file: [!] Invalid RNScreens.podspec file: undefined method `install_modules_dependencies' for Pod:Module Did you mean? install_flipper_dependencies.

from /Users/yujunmiao/Documents/new-century-work/taro-native-shell/node_modules/react-native-screens/RNScreens.podspec:25
-------------------------------------------

install_modules_dependencies(s)

if new_arch_enabled
-------------------------------------------

.

from /Users/yujunmiao/Documents/new-century-work/taro-native-shell/ios/Podfile:17
-------------------------------------------
end

config = use_native_modules!

-------------------------------------------

Slngle avatar Sep 30 '24 10:09 Slngle

遇到一样的报错,请问有解决吗?

KXQC01 avatar Nov 02 '24 03:11 KXQC01

那个版本的 taro,以及那个分支的 taro native shell

zhiqingchen avatar Nov 04 '24 02:11 zhiqingchen

taro native shell 0.72,尝试把flipper禁用掉就不会报错了。

KXQC01 avatar Nov 04 '24 05:11 KXQC01

那个版本的 taro,以及那个分支的 taro native shell

@zhiqingchen 你好,现在壳项目使用的rn版本是0.73.1,RN官方已经不再支持了,我们是否可以自行将壳项目的RN版本升级到最新版本?有没有什么风险或者要注意的地方?

现在xcode升级到16.3会有报错,看着是RN版本太低,导致有些东西不兼容了

BS3385 avatar Apr 09 '25 07:04 BS3385

真难用啊

13923927013 avatar Jun 18 '25 02:06 13923927013