UI Test does not use launch arguments from Xcode

Configuration: XCode 11.4, macOS 10.15.4, iOS Swift app


Hi community,


I am running swift UI tests and tried to a set the launch arguments in XCode (Edit Scheme -> Test -> Arguments)


Unfortunately the test does not receive those arguments. Instead of this I have to set them manually in the code using "app.launchArguments.append("--uitesting").


When I do a normal "run" the arguments defined in the "Run scheme" are passed


Is this a XCode bug or did I miss something?