Can we execute arp command through Process class in swift

I would like to execute (arp -a) command to get the all connected device IP address and MAC Address and I did by using Process class in swift however I would like to check whether that app will be store compatible.


Another query related to same concerns:

Whether our app will be accepted by Apple Store(will be store compatible) if executes other commands to utilize the output in our macOS app.