iOS Build Environment Help Center

XCode version issues?

append delete Ken

Windows 11
iOS Builder 3.60.2
iOS SDK 17.2
Log: https://pmbaty.com/paste/?64d9c698dfff73f7#8RJgC7V7YQBwwrsYKmjKGWNPKpPEVYwPrDiu7KzNXoEv

I recently updated my iOS builder, which made it incompatible with the previous XCode copy I had.

So I updated my XCode, and now I'm not certain if it's the right version either.

I'm getting an error that doesn't really look like an error, so I'm guessing incompatibility.

Could you report somewhere which version of XCode the iOS Builder is known to be compatible with? Like, latest verified version, etc.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

This error shows that the build script cannot find the output of the Unity il2cpp compiler. It’s not a matter of compatibility with Xcode but with this particular implementation of the Unity il2cpp compiler. Have you upgraded your Unity editor recently ? If so, which version is it and would you mind sending this Xcode project to me for analysis ? Send it to my email address (pm @ this domain). Confidentiality guaranteed.

append delete #2. Ken

Interesting!

I just built successfully with a fresh project, Unity 2023.2.3f1.

I'm then copied over all of the manifest from my failing project into the fresh project to see if it's a dependency.

Still built fine.

By Xcode project, would that mean the entire build directory zipped up? I'm not sure I can send something that big over gmail.

append delete #3. Pierre-Marie Baty

Well received over Google Drive, I'm going to look at it.

append delete #4. Pierre-Marie Baty

Okay, problem found.

The Unity il2cpp compiler generated a libGameAssembly static library for ARM64 whose weight is 2 509 716 480 bytes (0x95973C00 in hex).

This is higher than 2^31 (0x7fffffff hex, max size of a signed 32-bit integer) which some Apple tools (such as "lipo") still use to represent the size of an input file.

I need to fix that. Stay tuned, it shouldn't take long.

:: @Pierre-Marie Baty added on 28 Dec ’23 · 16:58

*edit* Looks like I nailed it. Rebuilding your project once again to make sure...

:: @Pierre-Marie Baty added on 28 Dec ’23 · 17:38

*edit 2* The fix is good. You can download the updated "lipo" tool here: https://www.pmbaty.com/iosbuildenv/lipo.zip
Put it in the Toolchain subdirectory of the builder's install path. Then rebuild your app.

append delete #5. Ken

Verified I can build up to the QR code again!

Thank you :D

append delete #6. Pierre-Marie Baty

You’re welcome. Glad to help :-)

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty