Appium Integration in IOS

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(""), 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??