WORKING SOLUTION:
Connect your macbook to the emulator device. You need to enable your emulator device to accept apps developed from your apple developer ID. To do this, go to Settings on your emulator device (iPad/iPhone).
Settings-->General-->Device Management.
Select the developer ID that is displayed and click "Trust"