【发布时间】:2020-10-19 11:09:49
【问题描述】:
我升级了 react-native
"react": "16.9.0",
"react-native": "0.61.4",
到
"react": "16.11.0",
"react-native": "0.62.2",
我做了所有反应原生升级帮助文档
https://react-native-community.github.io/upgrade-helper/?from=0.61.4&to=0.62.2
但我遇到了这些错误
"associated type descriptor for Swift.ExpressibleByFloatLiteral.FloatLiteralType", referenced from:
"associated type descriptor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType", referenced from:
"value witness table for Builtin.Int32", referenced from:
【问题讨论】:
-
你做过
pod install吗?还要确保你已经清理了你的 xcode 项目,然后关闭并重新打开它(重新启动 xcode 后一些错误消失) -
是的,我所做的一切都是干净的 npm 缓存、pod 缓存和 Xcode
-
显然他们在这里建议不要升级 *.xcodeproj 文件并遵循此:github.com/react-native-community/upgrade-support/issues/13
-
谢谢萨利姆 我试过了,但没有
-
Merhabalar,类似 {yourPoject}/ios dosyasina girin,daha sonra orda iki tur Xcode dosyasi goreceksiniz 。 1.yourPoject.xcodeproj 2.yourPoject.xcworkspace。大小 2. dosyasi xcode ile acip command+K basip daha sonra build alin, boylece sorun cozulecek.
标签: ios swift xcode react-native