sorry, I am confused. I am reading your posts where you talk about Android and then iOS. Let’s back up.
So you are on 3.14.1, OS X, XCode and trying to compile the pre-built libraries. This should work. I just did this earlier this morning.
git clone <our repo>
git submodule update --init
git submodule update
./setup.py (skip Android pieces by hitting return if you don't need it)
which cocos (to verify you get something back)
cocos -v (to verify versions, in case you have more than one on the system)
cocos gen-libs -m release -p ios