Search code examples
xcodecordovaionic-frameworkios9gcdwebserver

GCDWebServer was built for newer iOS version (8.3) than being linked (7.0)


I'm building my app using Ionic Framework and updating it for iOS 9 at this time.

My iOS Build Target is set to 9.0. So I'm not sure why it's trying to build for 8.3. Where can I change the build target for GCD Web Server and change the link from 7.0 to 9.0?

enter image description here


Solution

  • After a lot of trial and error, I was able to figure out that cordova-plugin-webserver (required by com.telerik.plugins.wkwebview) is somehow incompatible with XCode 7 Beta.

    The issue can be fixed by simply removing the compatible plugins:

    cordova plugins remove com.telerik.plugins.wkwebview
    cordova plugins remove cordova-plugin-webserver
    

    This should work without any other modifications. Do not change iOS deployment targets or Enable Bitcode settings, they are just symptoms of the underlying problem and wont fix the issue.