Skip to content

iOS 26.0 support #199

Open
Open
@r-a-o

Description

@r-a-o

Describe the bug

With the release of iOS 26, the SPM pod breaks, I see the following error on attempting to compile.

Relevant log output

/Users/xxx/Library/Developer/Xcode/DerivedData/XYZ-gllhxxqtkpzmwigvqwfmyxanljeg/SourcePackages/checkouts/amplify-swift
/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/ASF/ASFAppInfo.swift:19:24 
Cannot find '__IPHONE_OS_VERSION_MIN_REQUIRED' in scope

Xcode: 26.0.0-Beta OS: MacOS 26.0 iOS: 26.0

Steps To Reproduce

Steps to reproduce the behavior:
1. Install XCode 26.0 beta, target device running iOS 26.0 (beta)
2. Try following dependency in your proj: 
`.package(url: "https://github.com/aws-amplify/amplify-ui-swift-liveness", from: "1.3.5")`
3. Compile to see error

Expected behavior

iOS 26 version should compile.

Swift Liveness Version

5.9

Xcode version

Version 26.0 beta (17A5241e)

Is this a regression?

No

Regression additional context

No response

OS Version

iOS 26.0

Device

iPhone 12 mini

Specific to simulators

No response

Additional context

No response

Activity

thisisabhash

thisisabhash commented on Jun 10, 2025

@thisisabhash
Member

Hello, Thank you for posting this. Our team will take a look and post updates here.

added
bugSomething isn't working
and removed on Jun 10, 2025
benfrearson

benfrearson commented on Jun 19, 2025

@benfrearson

I have the same issue - exact same error and os/tool versions.

harsh62

harsh62 commented on Jun 20, 2025

@harsh62
Member

This is expected because the underlying dependency amplify-swift has an issue. We will update once that is resolved.

benfrearson

benfrearson commented on Jun 20, 2025

@benfrearson

@harsh62 Is there not an option for you to create a new iOS26 branch that points to the in progress fix for amplify-swift's iOS 26 branch?

aws-amplify/amplify-swift#4003

harsh62

harsh62 commented on Jun 20, 2025

@harsh62
Member

Since this is Beta and you just want to test out Xcode 26. I would suggest to fork the repo and modify the Package.swift file to point to that custom branch from Amplify.

We will keep this issue open incase we need to fix anything specific to Xcode 26.

benfrearson

benfrearson commented on Jun 23, 2025

@benfrearson

That's a poor approach to maintaining this package imo.

This isn't really about "testing out" Xcode 26. The purpose of using Xcode 26 and the iOS26 SDK is to be able to prepare our app for the public release of iOS 26. As it stands, we can't build our app without Amplify, and so we can't do any work to update our UI.

No we won't be releasing any builds from this version of the toolchain in the short term, but that doesn't mean we don't need to be able to prepare for when we do.

Suggesting that all users of the package using Xcode 26 create a fork is ludicrous. I imagine many (most?) iOS devs will be trying to prepare their apps for the release of iOS 26 in September, and so to just write it off because it's a beta is very shortsighted.

A quick look at the error suggests that it is very likely this issue will need fixing in Amplify for the release version of Xcode 26—are you not planning on maintaining this package until then?

harsh62

harsh62 commented on Jun 23, 2025

@harsh62
Member

@benfrearson

The packages are actively maintained and we have team members answering/fixing issues all the time. Xcode 26 will definitely be supported but we won't be able to support every beta that is rolled out by Apple.

We've already provided a WIP branch in Amplify Swift Repo discussed in this issue.

In the short term, if you want to try/test/prepare Xcode 26 with Amplify, you are free to do so by forking this repo and pointing to the Xcode 26 WIP branch.

It could even may be that Apple fixes this issue in the next Beta rollout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @r-a-o@harsh62@thisisabhash@benfrearson

        Issue actions

          iOS 26.0 support · Issue #199 · aws-amplify/amplify-ui-swift-liveness