XCTestUI failing to run on AWS device farm

0

hello,

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
已提问 3 年前420 查看次数
1 回答
0

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,
Jon

AWS
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则