Open
Description
What happened?
The userTracking
privacy permission cannot be set on iOS 18 using Xcode 16 (beta).
The current method in AppleSimUtils is no longer functional, and simctl does not support this permission type.
What was the expected behaviour?
The expectation was to set the userTracking
privacy permission successfully using launch-args (on iOS 18 with Xcode 16).
Was it tested on latest Detox?
- I have tested this issue on the latest Detox release and it still reproduces.
Help us reproduce this issue!
- Install iOS 18 (beta) and Xcode 16 (beta).
- Pass
userTracking
permission with the respective value onlaunchArgs
to attempt setting the user-tracking privacy permission (see API).
Activity
PedroRobalo1994 commentedon Dec 9, 2024
Was able to reproduce this issue with the launch-args
detoxDisableWebKitSecurity
on iOS 18.0 and iOS 18.1. It works as expected on iOS 17.5,This issue causes some of our Web Views tests to fail on iOS 18 and above with XCode 16.
Faliszek commentedon Mar 3, 2025
I also hit this issue. In my case I want to prevent modal from being shown in certain test case. As workaround I call bash script inside of the test that updates TCC database where value of
kTCCServiceUserTracking
permission is, inside ofaccess
table.In test:
Here is the script
set_att_permission.sh
.(Remember about
chmod u+x ./set_att_permission.sh
!)Script updates sqlite table where information about iOS permission are stored for your
device.id
.After that Tracking Transparency modal is no longer shown.