Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcov 1.8.1 : Xcov not able to find ignore file path #218

Open
gaurav-Lilly opened this issue May 12, 2023 · 4 comments
Open

Xcov 1.8.1 : Xcov not able to find ignore file path #218

gaurav-Lilly opened this issue May 12, 2023 · 4 comments

Comments

@gaurav-Lilly
Copy link

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.

@shurale85
Copy link

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

@gaurav-Lilly
Copy link
Author

@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.

@smit9612
Copy link

ignore file should be without any extension.

it can be filename_xcovignore in file system

@gaurav-Lilly
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants