Skip to content

Commit d258f01

Browse files
committed
Use UNITY_IOS instead of UNITY_EDITOR_OSX
1 parent 9ce7796 commit d258f01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Editor/AdjustEditor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using UnityEngine;
99
using UnityEditor;
1010
using UnityEditor.Callbacks;
11-
#if UNITY_EDITOR_OSX
11+
#if UNITY_IOS
1212
using UnityEditor.iOS.Xcode;
1313
#endif
1414

@@ -45,7 +45,7 @@ private static void RunPostBuildScript(BuildTarget target, bool preBuild, string
4545
UnityEngine.Debug.Log("adjust: Starting to perform post build tasks for Android platform.");
4646
RunPostProcessTasksAndroid();
4747
} else if (target == BuildTarget.iOS) {
48-
#if UNITY_EDITOR_OSX
48+
#if UNITY_IOS
4949
UnityEngine.Debug.Log("adjust: Starting to perform post build tasks for iOS platform.");
5050

5151
string xcodeProjectPath = projectPath + "/Unity-iPhone.xcodeproj/project.pbxproj";

0 commit comments

Comments
 (0)