OSX - PROC_TARGET_NUMBER Suggestions in the Documentation

Yes, and if you build for one special Intel processor the code will most likely not run on a different one.
For that reason you have to build for a generic processor, then your build will run on all processors of that architecture.