0

我已经开始为 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) 

有谁知道可能导致此错误的原因。答案是缺少桥接文件,但我已经检查过了。

4

0 回答 0