XCTestUI failing to run on AWS device farm



I'm trying to set up iOS automation testing using XCTestUI & AWS device farm, but all tests are failing when are ran in device-farm:
" container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled "

To me, it looks like XCTestUI bundle can't access (or find) app group container, but I can't figure out why.
I double and triple checked AppGroups permissions but i'm not seeing anything wrong there.
Same test are running ok in xcode emulator or on several real devices I have been using. So maybe there's something else I specifically need to be doing for aws device-farm?

Any help would be greatly appreciated!

Vlad O
asked 3 years ago471 views
1 Answer

Hi there,
As described in our documentation, we resign all apps on AWS Device Farm devices for public device testing. In order to test entitlements (like App Groups) for iOS (https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AboutEntitlements.html), as well as features which we disable via our public device MDM strategy, please reach out to aws-devicefarm-support@amazon.com for information about private devices, which enable you to skip app resigning. Note that these are significantly more expensive than public devices, and a longer-term commitment.

Thank you,

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions