pointfreeco / swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
https://www.pointfree.co/collections/composable-architecture
MIT License
12.22k stars 1.42k forks source link

on Xcode beta 16.1 swift-dependencies will error out due to recent deprecation #3284

Closed ckse93 closed 1 month ago

ckse93 commented 1 month ago

Description

WithDependencies file errors out due to @_unsafeInheritExecutor. error message is @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead

Screenshot 2024-08-13 at 7 13 00 PM

Checklist

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

download latest Xcode beta 16.1. run any existing project with swift-dependencies 1.3.4 as one of the swift packages

The Composable Architecture version information

swift-dependencies 1.3.4

Destination operating system

visionOS 2.0

Xcode version information

Version 16.1 beta (16B5001e)

Swift Compiler version information

Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-darwin24.0.0
stephencelis commented 1 month ago

@ckse93 This was fixed in swift-dependencies a couple weeks ago: https://github.com/pointfreeco/swift-dependencies/releases/tag/1.3.6

TCA does not restrict you from updating, so be sure to bump your dependencies manually to get things to work.