Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

GCDWebServer will not work on Xcode 13 #528

Open
harleyjcooper opened this issue Jan 8, 2021 · 6 comments · May be fixed by #529
Open

GCDWebServer will not work on Xcode 13 #528

harleyjcooper opened this issue Jan 8, 2021 · 6 comments · May be fixed by #529
Labels

Comments

@harleyjcooper
Copy link

Currently, when using GCDWebServer on Xcode 12, it produces a warning of the format The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

This means that it will be incompatible with Xcode 13, when it comes out.

As a result, the ios deployment version should eventually get bumped to 9.0.

@harleyjcooper
Copy link
Author

I pushed #529 to fix the issue

@harleyjcooper harleyjcooper linked a pull request Jan 8, 2021 that will close this issue
@swisspol swisspol added the bug label Feb 14, 2021
@ucsbricks
Copy link

Any news when the PR might get merged?

@harleyjcooper
Copy link
Author

Any news when the PR might get merged?

I don't have permissions but hopefully one of the owners can merge it

@mstralka
Copy link

If you use Cocoapos, you can fix this by following CocoaPods/CocoaPods#9884 (comment)

@harleyjcooper
Copy link
Author

@swisspol any chance this could get merged sometime soon? 🙏🏽

@pepasibble
Copy link

@mstralka instead of explicitly setting a deployment target, you can instead delete them from the pods, causing them to inherit the top-level deployment target.

example:

platform :ios, '13.0'

target 'MyApp' do
  pod 'GCDWebServer'
  
  # thanks to https://stackoverflow.com/a/64048124
  post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
      end
    end
  end
end

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants