xcov icon indicating copy to clipboard operation
xcov copied to clipboard

Xcov 1.8.1 : Xcov not able to find ignore file path

Open gaurav-Lilly opened this issue 1 year ago • 4 comments

Hi All,

I am getting this "Skipping file blacklisting as no ignore file was found at path /Users/gaurav/APP_IOS/MyTableApp/.xcovignore"

I am giving the path like this in terminal(MacOS) :

xcov -w MyTableApp.xcworkspace -s MyTableApp -o xcov_output -x .xcovignore

My ignore file is named ".xcovignore " and is in same folder as my workspace file. Any idea what i am missing here.

gaurav-Lilly avatar May 12 '23 13:05 gaurav-Lilly

I also have issue with ignore file. There is msg about Skipping file blacklisting as no ignore file was found. However there is ignore file ignorefiles.xcovignore

shurale85 avatar May 18 '23 10:05 shurale85

@nakiostudio : Any idea what are we missing here? I hope Xcov 1.8.1 still supports ignore file. Please correct me if i am wrong.

gaurav-Lilly avatar May 18 '23 11:05 gaurav-Lilly

ignore file should be without any extension.

it can be filename_xcovignore in file system

smit9612 avatar May 31 '23 21:05 smit9612

I figured out the solution. In my case, issue was not with the file name but with the extra spaces and formatting inside the .xcovignore file. File name was fine. So, if you edit your igonore file using TextEdit editor it added unnecessary symbols inside the file. When i opened my .xcovignore file with XCODE or Visual Studio Code, it showed me clearly the extra added symbols and spaces by TextEdit Editor. After removing all those , all files mentioned inside were ignored and it worked fine.

gaurav-Lilly avatar May 31 '23 23:05 gaurav-Lilly