Post

Replies

Boosts

Views

Activity

iOS 14.4 simulator keeps asking for Apple id during XCTest execution
Hi everyone, I am quite new in XCUI test automation, but I faced with the problem I wasn't able to find answer to. When I run my UI tests from xcode 12.4 on iOS simulator 14.4 - everything is fine, tests are executing and passing. But when I want to run my UI tests from command line by using xcodebuild: xcodebuild command - https://developer.apple.com/forums/content/attachment/5492d7a9-c4dc-42c9-b9ac-ba95df7c0bbd after tests started pop-up which is asking to enter apple-id and password appears and causing tests to fail. I tried to entered my apple id and password in the settings on Simulator I am using before running the tests and everything looks fine, I can see my name as I am logged in, but every time I start the tests with xcodebuild command from terminal, this apple id pop-up appears again and again and tests are filing because it overlaps UI controls. Is it known issue or am I missing something in my configuration? thanks in advance Kind regards, Dima
1
1
1.8k
Apr ’21