Yes I'm not sure about this error, but I rebenber the problem was , when you unzipp the compiled program...
make this, we look if works.
When you compile for Mac osx or Mac Universal, you get a compressed file?¿
Then copy to your mac desktop and unzip... Seems a lazy thing, but I rebenmber something whit the unzip step was the problem.. don't care works fine Mac osx and Uni