File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Source/Package/Assets/artoolkitX-Unity/Scripts/Editor Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 38
38
using UnityEditor ;
39
39
using UnityEditor . Callbacks ;
40
40
using System . IO ;
41
- using UnityEditor . Android ;
42
41
using System . Xml ;
43
42
using UnityEditor . Build ;
44
43
using UnityEditor . Build . Reporting ;
45
44
using System ;
45
+ #if UNITY_ANDROID
46
+ using UnityEditor . Android ;
47
+ #elif UNITY_IPHONE
46
48
using UnityEditor . iOS . Xcode ;
49
+ #endif
47
50
48
51
public class ARToolKitPostProcessor : IPostprocessBuildWithReport
49
52
{
@@ -155,6 +158,7 @@ public void OnPostprocessBuild(BuildReport report) {
155
158
}
156
159
}
157
160
161
+ #if UNITY_ANDROID
158
162
class ARToolKitAndroidManifestPostProcessor : IPostGenerateGradleAndroidProject
159
163
{
160
164
const string k_AndroidUri = "http://schemas.android.com/apk/res/android" ;
@@ -291,4 +295,4 @@ void DebugPrint(XmlDocument doc)
291
295
292
296
public int callbackOrder => 2 ;
293
297
}
294
-
298
+ #endif
You can’t perform that action at this time.
0 commit comments