-0.4 C
New York
Sunday, January 26, 2025

Unable to Fetch Code Protection for Appium Take a look at Suite on iOS App (Xcode Setup)


I’m engaged on organising code protection for my Appium take a look at suite on an iOS app, and I’m having hassle getting it to work. I’ve configured the mandatory settings in each Xcode and Appium capabilities, however I’m not seeing the protection information being generated throughout the take a look at execution.

Subject:
Though I’ve enabled code protection each in Xcode and by way of Appium capabilities, I’m unable to get the precise protection report from my exams. The exams run fantastic, however no protection information is generated or out there.

Has anybody efficiently arrange code protection for Appium exams with an iOS app (Xcode)? Any recommendations or recommendation on what is perhaps lacking or any particular configuration steps I could have ignored?

Thanks upfront!

Right here’s what I’ve accomplished thus far:
Xcode Configuration:

Set ENABLE_CODE_COVERAGE = YES in my Xcode venture.
Set GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES
Set GCC_GENERATE_TEST_COVERAGE_FILES = YES`

I created the construct for the simulator as normal.

Appium Capabilities:

caps.setCapability("showXcodeLog", true);
caps.setCapability("bundleId", "com.abcd");
caps.setCapability("newCommandTimeout", 240);
caps.setCapability("enableCodeCoverage", true);
caps.setCapability("xcodeOrgId", "hdchdvhcvdh");
caps.setCapability("xcodeSigningId", "iPhone Developer");
caps.setCapability("enablePerformanceLogging", true);
caps.setCapability("udid", "E6CE2076-91DD-46C5-8E7A-44E3hdhvhvh");

Downside:
Though I’ve enabled code protection each in Xcode and by way of Appium capabilities, no protection information is generated or out there after the take a look at execution.
The exams run efficiently, however I don’t see any code protection report.

Has anybody encountered this situation earlier than or efficiently managed to gather code protection information for an iOS app utilizing Appium? Any recommendation on extra steps or configurations can be vastly appreciated!

Thanks!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles