React Native IOS打包問題匯總

問題Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral………………

Showing Recent Messages
Could not find or use auto-linked library 'swiftCoreFoundation'

Could not find or use auto-linked library 'swiftQuartzCore'

Could not find or use auto-linked library 'swiftCore'

Could not find or use auto-linked library 'swiftCoreGraphics'

Could not find or use auto-linked library 'swiftUIKit'

Could not find or use auto-linked library 'swiftDarwin'

Could not find or use auto-linked library 'swiftFoundation'

Could not find or use auto-linked library 'swiftMetal'

Could not find or use auto-linked library 'swiftObjectiveC'

Could not find or use auto-linked library 'swiftDispatch'

Could not find or use auto-linked library 'swiftCoreImage'

Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral

Undefined symbol: associated type descriptor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType

Undefined symbol: associated conformance descriptor for Swift.ExpressibleByIntegerLiteral.Swift.ExpressibleByIntegerLiteral.IntegerLiteralType: Swift._ExpressibleByBuiltinIntegerLiteral

Undefined symbol: method descriptor for Swift.ExpressibleByFloatLiteral.init(floatLiteral: A.FloatLiteralType) -> A

Undefined symbol: protocol descriptor for Swift.ExpressibleByIntegerLiteral

Undefined symbol: value witness table for Builtin.Int32

Undefined symbol: __swift_FORCE_LOAD_$_swiftMetal

Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreImage

Undefined symbol: associated type descriptor for Swift.ExpressibleByFloatLiteral.FloatLiteralType

Undefined symbol: __swift_FORCE_LOAD_$_swiftQuartzCore

Undefined symbol: __swift_FORCE_LOAD_$_swiftDispatch

Undefined symbol: method descriptor for Swift.ExpressibleByIntegerLiteral.init(integerLiteral: A.IntegerLiteralType) -> A

Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreFoundation

Undefined symbol: protocol witness table for Swift.Int : Swift._ExpressibleByBuiltinIntegerLiteral in Swift

Undefined symbol: __swift_FORCE_LOAD_$_swiftObjectiveC

Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreGraphics

Undefined symbol: _swift_getForeignTypeMetadata

Undefined symbol: __swift_FORCE_LOAD_$_swiftFoundation

Undefined symbol: __swift_FORCE_LOAD_$_swiftDarwin

Undefined symbol: associated conformance descriptor for Swift.ExpressibleByFloatLiteral.Swift.ExpressibleByFloatLiteral.FloatLiteralType: Swift._ExpressibleByBuiltinFloatLiteral

Undefined symbol: __swift_FORCE_LOAD_$_swiftUIKit

Undefined symbol: protocol witness table for Swift.Float : Swift._ExpressibleByBuiltinFloatLiteral in Swift
圖片版錯誤信息
解決方法

如圖對Excluded Architectures進行配置后,Product菜單->Clean Build Folder,再重新編譯即可。

image.png

如果還不行,可按參考鏈接中的第二步繼續(xù)操作,問題參考:https://stackoverflow.com/questions/66369650/undefined-symbol-protocol-descriptor-for-swift-expressiblebyfloatliteral-issu

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容