xcov
xcov copied to clipboard
Xcov 1.8.1 : Xcov not able to find ignore file path
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.
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
@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.
ignore file should be without any extension.
it can be filename_xcovignore in file system
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.