OS X El Capitan – "package is not compatible" error The build machine used in my project is not based on OS X El Capitan – it is running Yosemite. 

So far I've never had problems with the generated installer file (.pkg), but on El Capitan, I receive the error "this package is incompatible with this version of OS X..."


What could be the reasons of such incompatibility? I've found one thread about using SIP protected locations but it doesn't seem to be my issue.
Is there any way to verify if my PKG file is compatible with El Capitan without actually having El Capitan installed?
In case anyone wonders, on El Capitan installers can't copy files to /usr/bin. That was the reason.