unify TARGET_ARCH config
refactor
refactoring ios
refactor mac
finish android
add tizen and android support