Hello,
Refer this document :
https://docs.mendix.com/refguide/mobile/distributing-mobile-apps/building-native-apps/native-build-locally/
Hope it helps!