Skip to content
This repository was archived by the owner on Nov 8, 2019. It is now read-only.

Commit 2687140

Browse files
committed
GVR SDK for Unity v1.130.1
1 parent bfacaff commit 2687140

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Assets/GoogleVR/Editor/GvrBuildProcessor.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
using UnityEngine;
1818
using UnityEditor;
1919
using UnityEditor.Build;
20+
using System.Linq;
21+
22+
#if UNITY_IOS
2023
using UnityEditor.iOS.Xcode;
2124
using System.IO;
22-
using System.Linq;
25+
#endif
2326

2427
#if UNITY_2017_2_OR_NEWER
2528
using UnityEngine.XR;
@@ -90,6 +93,7 @@ public void OnPostprocessBuild(BuildReport report) {
9093
#endif
9194

9295
public void OnPostprocessBuild(BuildTarget target, string outputPath) {
96+
#if UNITY_IOS
9397
// Add Camera usage description for scanning viewer QR codes on iOS.
9498
if (target == BuildTarget.iOS) {
9599
// Read plist
@@ -104,6 +108,7 @@ public void OnPostprocessBuild(BuildTarget target, string outputPath) {
104108
// Write plist
105109
File.WriteAllText(plistPath, plist.WriteToString());
106110
}
111+
#endif
107112
}
108113

109114
// 'Player Settings > Virtual Reality Supported' enabled?

Assets/GoogleVR/Scripts/GvrUnitySdkVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/// Provides and logs versioning information for the GVR SDK for Unity.
1919
/// </summary>
2020
public class GvrUnitySdkVersion {
21-
public const string GVR_SDK_VERSION = "1.130.0";
21+
public const string GVR_SDK_VERSION = "1.130.1";
2222

2323
// Google VR SDK supports Unity 5.6 or newer.
2424
#if !UNITY_5_6_OR_NEWER

0 commit comments

Comments
 (0)