By SetoKaiba
on Sun, 11/19/2017 - 04:43
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.
Hello SetoKaiba,
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