Skip to content

Commit 3a088ec

Browse files
committed
Add doc/idfa.md
1 parent 822855f commit 3a088ec

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

doc/idfa.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## Remove IDFA support
2+
3+
If your app got rejected by Apple because your app is using the advertising
4+
identifier, this document is for you.
5+
6+
1. Contact us at [[email protected]](mailto:[email protected]). We would like
7+
to make sure that you are aware of the consequences of removing IDFA
8+
support.
9+
10+
2. After you talked with us, or when you just can't wait any longer, proceed
11+
with the following steps to remove the IDFA support.
12+
13+
### Remove the AdSupport framework
14+
15+
- In the Project Navigator select your project. Make sure your target is
16+
selected in the top left corner of the right hand window.
17+
18+
- Select the `Build Phases` tab and expand the group `Link Binary with
19+
Libraries`.
20+
21+
- Select the `AdSupport.framework` and press the `-` button to remove it.
22+
23+
- In the Project Navigator, expand the group `Frameworks`.
24+
25+
- If the `AdSupport.framework` is in there, right click it, select `Delete` and
26+
confirm `Remove Reference`.
27+
28+
### Add the compiler flag `ADJUST_NO_IDFA`
29+
30+
- In the Project Navigator select your project. Make sure your target is
31+
selected in the top left corner of the right hand window.
32+
33+
- Select the `Build Settings` tab and search for `Other C Flags` in the search
34+
field below.
35+
36+
- Double click on the right side of the `Other C Flags` line to change its
37+
value
38+
39+
- Press on the `+` button at the bottom of the overlay and paste the following
40+
text into the selected line:
41+
42+
```
43+
-DADJUST_NO_IDFA
44+
```

0 commit comments

Comments
 (0)