I was having trouble with this earlier today. Both devices must be connected wirelessly to the same network. My iDevices and MacBook weren't finding each other, and then I realised it was because my MacBook was connected to my router's 5GHz network and the others were on the 2.4GHz.