For some reason my code base suddenly started getting THOUSANDS of these warnings. But so far all the files & paths in question are exactly correct, matching what I see on disk with Finder. Are they secretly some other case under the covers? Why the heck would Xcode generate these warnings when the problem doesn't actually exist?
Although http://stackoverflow.com/questions/43067017/non-portable-path-to-file-file-h-specified-path-differs-in-case-from-file-na is about the same warning, in this case I've verified that the import paths match the filenames on disk.
My error was this: non-portable path to file gpuimagedirectionalsobeledgedetectionfilter.h specified path differs in case from file name on disk
GPUimageDirectionalSobelEdgeDetectionFilter.h
What I did here, I located the GPUimageDirectionalSobelEdgeDetectionFilter.h file that's causing this error and copied the name as it was in the folder and pasted it into the code. Worked.
so I removed #import GPUimageDirectionalSobelEdgeDetectionFilter.h
and added the same line with the pasted .h name. This solved the problem.
Used Xcode 8.3.2
You will get this warning if include/import statement has the wrong case for a header file. If you have file with name XYZ.h you should import "XYZ.h" (same case).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With