我升级了本机
"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:
答案 0 :(得分:7)
升级到本机0.63.3后出现相同的错误。
这的根本原因是我的项目中只有Objective-C文件。
解决方案是在xcode中的项目下添加一个空的swift文件,所有链接错误都将得到解决。
File -> New -> File
Select Swift File