iOS Build Environment Help Center

Delete

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

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[1]: libtool.exe command line can get above the Windows 8K limit

Pierre-Marie Baty

Hello

That's a well-known problem on Windows... And unfortunately here the problem occurs within the *il2cpp.exe* compiler driver supplied by Unity with their editor. They should have used the -filelist option. e.g. instead of :

%
libtool -static -o myStaticLib.a objfile1.obj objfile2.obj objfile3.obj ... objfileN.obj
%

the Unity il2cpp compiler driver should do :

%
libtool -static -o myStaticLib.a -filelist file_containing_the_list_of_object_files.txt
%

I already contacted the person who was in charge of implementing that in il2cpp.exe but got no reply yet. Let's hope it gets fixed quickly. Don't hesitate to forward this problem report to the Unity team because ATM only them can fix that (and if necessary, insist that "building for iOS targets on Windows is not supported" is not an answer. The problem is identified and the solution is known, that fix is a 5 minutes job).

Best regards && happy new year,

Moderators: Pierre-Marie Baty