iOS Build Environment Help Center

il2cpp: Either unknown arguments were used or ... --conf

append delete JF

Windows version: 11
Builder version: 3.54
iOS SDK version: Xcode 14.2
Unity version: 2022.2.1f1

https://pastebin.com/4Bdbq7Zf

This was a fresh install of everything on Windows 11.

I've been using IOS builder for years on my old Windows 10 pc, but I haven't been able to figure out what the problem is here.

Reply RSS

Replies

append delete #1. JF

I was able to get the complete command line it is executing, and there is a "--conf" parameter in there which il2cpp doesn't like. Here is the fully expanded command line:

https://pastebin.com/edbDeEAN

append delete #2. JF

OK I managed to figure this one out, hopefully I didn't waste any of your time yet.

It looks like the command line is too long and -conf is a cut-off version of --configuration="ReleaseSize".

The final command line seems to handle > 256 bytes, but anything going into TEMPVAR in build.cmd gets cut off.

I'm not sure why this worked on my old installation with the same directory setup, maybe Windows 11 created slightly longer paths.

append delete #3. Pierre-Marie Baty

That is probably the reason. And a new annoyance for me to handle.

Looks like it'll be time to drop the traditional Microsoft command interpreter (and thus drop Win7 support) and switch to a POSIX shell... Or use yet another hackish workaround. What a pain.

Thank you for pointing me at this.

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