only active arch for DEBUG

RELEAES compiles all valid archs
Merge pull request #5739 from ricardoquesada/xcode_only_active_arch

only active arch for DEBUG