Open dimmduh opened 7 years ago
If Unity does not support building for IOS (You can select it while installing), after import appmetrica there are some fatal errors in console (you can build or start).
I added:
to PostprocessBuildPlayerAppMetrica.cs and it helps See https://gist.github.com/dimmduh/f2d33246aedb1ca398a3901c63ee39c6 I guess this problem can be when Unity can build for IOS and does not support build for Android
You're right. Temporary solution is to cover all PostprocessBuildPlayerAppMetrica.cs with:
PostprocessBuildPlayerAppMetrica.cs
#if UNITY_IPHONE // Actual PostprocessBuildPlayerAppMetrica.cs content #endif
If Unity does not support building for IOS (You can select it while installing), after import appmetrica there are some fatal errors in console (you can build or start).
I added:
if UNITY_IPHONE || UNITY_STANDALONE_OSX
to PostprocessBuildPlayerAppMetrica.cs and it helps See https://gist.github.com/dimmduh/f2d33246aedb1ca398a3901c63ee39c6 I guess this problem can be when Unity can build for IOS and does not support build for Android