You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,12 @@ Press the same button to re-enable it.
99
99
100
100
#### iOS
101
101
102
-
The iOS build script is located at `Assets/Editor/PostprocessBuildPlayer_AdjustPostBuildiOS`. It changes the Unity3d iOS generated project in the following ways:
102
+
The iOS build script is located at `Assets/Editor/PostprocessBuildPlayer_AdjustPostBuildiOS.py`. It changes the Unity3d iOS generated project in the following ways:
103
103
104
104
1. Adds the iAd and AdSupport frameworks to the project. This is required by the adjust SDK - check out the adjust
105
105
[iOS][ios] page for more details.
106
106
107
-
2. Adds the other linker flag `-all_load`. This allows the adjust Objective-C categories to be recognized during the build time.
107
+
2. Adds the other linker flag `-ObjC`. This allows the adjust Objective-C categories to be recognized during the build time.
108
108
109
109
If you have a custom build that puts the Unity3d iOS generated project in a different location,
110
110
inform the script by clicking on the menu `Assets → Adjust → Set iOS build path` and choosing the build path of the iOS project.
@@ -113,7 +113,7 @@ After running, the script writes the log file `AdjustPostBuildiOSLog.txt` at the
113
113
114
114
#### Android
115
115
116
-
The android build script is located at `Assets/Editor/PostprocessBuildPlayer_AdjustPostBuildAndroid`. It changes the `AndroidManifest.xml` file located at `Assets/Plugins/Android/`. The problem with this approach is that, the manifest file used for the Android package was the one before the build process ended.
116
+
The android build script is located at `Assets/Editor/PostprocessBuildPlayer_AdjustPostBuildAndroid.py`. It changes the `AndroidManifest.xml` file located at `Assets/Plugins/Android/`. The problem with this approach is that, the manifest file used for the Android package was the one before the build process ended.
117
117
118
118
To mitigate this, simply run the build again, using the manifest created or changed by the previous run, or click on the menu `Assets → Adjust → Fix AndroidManifest.xml` so the script can run before the build process. Either way, it is only necessary to do this step once, as long the manifest file remains compatible with the adjust SDK.
0 commit comments