Communication between xcode and unity

Can anybody provide the sample code for communicating xcode and unity.

  Thanks in advance.

Have you even tried searching this site for "xcode communication"? Plenty of answers.