Closed pepas-everly closed 1 year ago
Thank you for filing this report. I'm unclear on when this deployment target might have been modified. Looking at the swift eventsource repo, we are targeting iOS v10 as seen here.
I setup a new project locally and was able to build without issue and without a workaround. Are you able to setup a minimal reproducible test case?
I setup a new project locally and was able to build without issue and without a workaround.
Try again with Xcode 14.
You should see this error immediately:
Steps to reproduce the above error:
I just realized I hadn't actually mentioned Xcode 14 anywhere in the original post. Sorry for the confusion. I'll update it.
we are targeting iOS v10
Also, 11.0 appears to be the minimum deployment target for Xcode 14.
We have published v7.0.0. This version drops support for iOS v10, allowing developers to use Xcode 14. Thank you for your patience while we worked on a fix for this!
EDIT: This issue is specifically for Xcode 14.
At some point, one of Launch Darkly's dependencies (
LDSwiftEventSource
) bumped its deployment target to 11.0, but the iOS SDK's deployment target is still set to 10.0:This causes Carthage to attempt to build everything using the 10.0 deployment target, which of course causes
LDSwiftEventSource
to fail to build:To fix this, please bump the iOS SDK's deployment target to 11.0.
While waiting for this upstream fix, current Carthage users can use the following work-around: