Log in or register to post comments

xcode project generation bug in Windows. Please fix it in the next version.

November 18, 2017 - 8:43pm #1

I know where is the bug now.

In the Vuforia.UnityExtensions.Editor.dll, there is a class named PostProcessBuildPlayer in the namespace Vuforia.EditorClasses.

There's a line hard code like below. The bug is caused by it.

private static void ProcessPbxProj(string xCodeProjFileName, PostProcessBuildPlayer.Framework[] frameworks, PostProcessBuildPlayer.ResFile[] resFiles)

{

                    //...

                    streamWriter.BaseStream.Seek(-3L, SeekOrigin.Current);

                    //...

}

The bug is caused by the NewLine of win and mac is different. It should be coded like this instead.

streamWriter.BaseStream.Seek(-2L - (long)Environment.NewLine.Length, SeekOrigin.Current);

Please fix it in the next version.

 

 

xcode project generation bug in Windows. Please fix it in the next version.

November 21, 2017 - 11:31am #2

Hello SetoKaiba,

Please refer to my response on this thread: https://forum.unity.com/threads/xcode-project-generation-bug-in-windows-please-fix-it-in-the-next-version.505199/

Thanks,

-Vuforia Support

Log in or register to post comments