Appium Integration in IOS

Hi,
I have integrated Appium in Android, now i want integrate the same in IOS. within the same project i wrote

             capabilities = new DesiredCapabilities();
            capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.IOS);
            capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "=iPhone 5s");
            capabilities.setCapability(MobileCapabilityType.APP, "path of my ipa");
            driver = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);

when i execute the same, it gives me an error.

Appium’s IosDriver doesnt support xcode version 8.1

please guide what should i do??