Undefined symbol: _swift_willThrowTypedImpl in Xcode 16

Hi, I have issue on build my react native project and got this error "Undefined symbol: _swift_willThrowTypedImpl" how can I fix it?

Answered by DTS Engineer in 809247022

The symbol is part of the typed throws implementation within the Swift runtime. Typed throws are a relatively recent feature — see SE-0413 Typed throws — so it’s likely that this problem is caused by a deployment target issue. Perhaps:

  • You have code that’s using this routine without setting its deployment target directly.

  • You have built code with one minimum deployment target and you’re trying to link it together with code built with a different one.

With Xcode this stuff usually Just Works™. If you’re able to reproduce this issue with a standard Xcode project, created from one of the built-in templates, then that’s likely a bug on Apple’s part and I’d love to hear more about it.

OTOH, if you’re only seeing this in projects set up to use your third-party tooling, my advice is that you escalate this via the support channel for that tooling.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

The symbol is part of the typed throws implementation within the Swift runtime. Typed throws are a relatively recent feature — see SE-0413 Typed throws — so it’s likely that this problem is caused by a deployment target issue. Perhaps:

  • You have code that’s using this routine without setting its deployment target directly.

  • You have built code with one minimum deployment target and you’re trying to link it together with code built with a different one.

With Xcode this stuff usually Just Works™. If you’re able to reproduce this issue with a standard Xcode project, created from one of the built-in templates, then that’s likely a bug on Apple’s part and I’d love to hear more about it.

OTOH, if you’re only seeing this in projects set up to use your third-party tooling, my advice is that you escalate this via the support channel for that tooling.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Undefined symbol: _swift_willThrowTypedImpl in Xcode 16
 
 
Q