Skip to content

package does not seem to compile in Xcode 26Β #77

@yqiang

Description

@yqiang

I'm updating my app for iOS 26 and have experiment-ios-client version 1.18.2 as a dependency:

.package(url: "https://github.com/amplitude/experiment-ios-client", from: "1.0.0"),

When trying to compile the target, I get a few errors about it not satisfying various concurrency rules:

Static property 'instancesLock' is not concurrency-safe because it is nonisolated global shared mutable state

Static property 'fallbackVariant' is not concurrency-safe because non-'Sendable' type 'Variant' may have shared mutable state
...

Xcode 26.0 Beta 6
Sequoia 15.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions