diff --git a/Assets/GoogleVR/Editor/GvrBuildProcessor.cs b/Assets/GoogleVR/Editor/GvrBuildProcessor.cs index 1bdf044c..453b64af 100644 --- a/Assets/GoogleVR/Editor/GvrBuildProcessor.cs +++ b/Assets/GoogleVR/Editor/GvrBuildProcessor.cs @@ -17,9 +17,12 @@ using UnityEngine; using UnityEditor; using UnityEditor.Build; +using System.Linq; + +#if UNITY_IOS using UnityEditor.iOS.Xcode; using System.IO; -using System.Linq; +#endif #if UNITY_2017_2_OR_NEWER using UnityEngine.XR; @@ -90,6 +93,7 @@ public void OnPostprocessBuild(BuildReport report) { #endif public void OnPostprocessBuild(BuildTarget target, string outputPath) { +#if UNITY_IOS // Add Camera usage description for scanning viewer QR codes on iOS. if (target == BuildTarget.iOS) { // Read plist @@ -104,6 +108,7 @@ public void OnPostprocessBuild(BuildTarget target, string outputPath) { // Write plist File.WriteAllText(plistPath, plist.WriteToString()); } +#endif } // 'Player Settings > Virtual Reality Supported' enabled? diff --git a/Assets/GoogleVR/Scripts/GvrUnitySdkVersion.cs b/Assets/GoogleVR/Scripts/GvrUnitySdkVersion.cs index 3404d94f..4e94c653 100644 --- a/Assets/GoogleVR/Scripts/GvrUnitySdkVersion.cs +++ b/Assets/GoogleVR/Scripts/GvrUnitySdkVersion.cs @@ -18,7 +18,7 @@ /// Provides and logs versioning information for the GVR SDK for Unity. /// public class GvrUnitySdkVersion { - public const string GVR_SDK_VERSION = "1.130.0"; + public const string GVR_SDK_VERSION = "1.130.1"; // Google VR SDK supports Unity 5.6 or newer. #if !UNITY_5_6_OR_NEWER