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

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 check suite on an iOS app, and I’m having bother getting it to work. I’ve configured the required settings in each Xcode and Appium capabilities, however I’m not seeing the protection knowledge being generated in the course of the check execution.

Situation:
Although 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 superb, however no protection knowledge is generated or accessible.

Has anybody efficiently arrange code protection for Appium exams with an iOS app (Xcode)? Any options or recommendation on what is likely to be lacking or any particular configuration steps I’ll have missed?

Thanks upfront!

Right here’s what I’ve completed to this point:
Xcode Configuration:

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

I created the construct for the simulator as traditional.

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");

Drawback:
Although I’ve enabled code protection each in Xcode and by way of Appium capabilities, no protection knowledge is generated or accessible after the check execution.
The exams run efficiently, however I don’t see any code protection report.

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

Thanks!

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 
rooshohttps://www.roosho.com
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Latest Articles

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog.