iOS Simulator deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to ..

If you are getting the following warning in Xcode while builing your iOS app:

 The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to ..,
 but the range of supported deployment target versions is ... to ....

The solution sis to go to Pods project:

Then go to GCDWebServer and set the iOS Deployment Traget to the higher value:

The issue will be fixed now Thafter rebuilding the project in Xcode.