error build: the univesral binary has a slice with an offset exceeds 4GB and will produce an invalid Mach-O file.

Hi everyone.

Today I updated xcode to version 14, when trying to compile my application in a different environment it shows me the following message. It's very ambiguous and it's the first time I see it. Does anyone know why this happens?

I appreciate your help.

Replies

If you build your product with Xcode 13, how large is the resulting Mach-O?

Share and Enjoy

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

I'm getting this error when building a game with Unreal Engine 4 on both Xcode 14.1 and 13.4.1. It appears that the error comes from an invocation of dysmutil that's extracting the symbols from the executable. The executable itself is ~770MB (a universal binary for x86_64 and arm64).