Fix arm64 issue

- replace all int by NSInteger
- change architectures to `$(ARCHS_STANDARD)`