
[英]Error when archiving iOS App - “generic specialization <Swift.String> of Swift.String.init”
[英]Problem when build relase version for ios "Swift.String.lowercased() -> Swift.String"
我已经开始为 ios 构建发布版本,下面是我收到的错误:
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftsimd'
ld: warning: Could not find or use auto-linked library 'swiftMetal'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftMediaPlayer'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftAVFoundation'
ld: warning: Could not find or use auto-linked library 'swiftCoreMedia'
ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'
ld: warning: Could not find or use auto-linked library 'swiftUIKit'
Undefined symbols for architecture arm64:
"Swift.String.lowercased() -> Swift.String", referenced from:
react_native_track_player.MediaURL.init(object: Any?) -> react_native_track_player.MediaURL? in libreact-native-track-player.a(MediaURL.o)
"_swift_storeEnumTagSinglePayloadGeneric", referenced from:
storeEnumTagSinglePayload value witness for react_native_track_player.MediaURL in libreact-native-track-player.a(MediaURL.o)
"(extension in Foundation):__C.NSNumber.init(integerLiteral: Swift.Int) -> __C.NSNumber", referenced from:
react_native_track_player.Capability.mapToPlayerCommand(forwardJumpInterval: __C.NSNumber?, backwardJumpInterval: __C.NSNumber?, likeOptions: [Swift.String : Any]?, dislikeOptions: [Swift.String : Any]?, bookmarkOptions: [Swift.String : Any]?) -> SwiftAudioEx.RemoteCommand in libreact-native-track-player.a(Capabilities.o)
有谁知道可能导致此错误的原因。 答案是缺少桥接文件,但我已经检查过了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.