Skip to content

Xcode 26 / iOS 26 Beta – Compilation errors with CaptionedImage dynamic member access #17

@sadaf-behbahani

Description

@sadaf-behbahani

Environment:

  • Xcode 26 Beta
  • iOS 26 Simulator
  • Braze Swift SDK version: 6.0.0
  • Module: BrazeUI/ContentCardUI

Description:

When compiling the SDK with Xcode 26 beta and iOS 26 SDK, we encounter build failures in ContentCardUICaptionedImageCell.swift.

Two dynamic member accesses are now triggering compile-time errors:

contentImageView.imageView.addAccessibilityAltText(card.imageAltText)
applyAccessibilityLanguage(card.language)

Error messages:

Value of type 'Braze.ContentCard.CaptionedImage' has no dynamic member 'imageAltText' using key path from root type 'Braze.ContentCard.Data'

Value of type 'Braze.ContentCard.CaptionedImage' has no dynamic member 'language' using key path from root type 'Braze.ContentCard.Data'

Expected behavior:
This code compiles correctly under Xcode 16.4. We expect the same behavior under Xcode 26.


Screenshots:

Image

Request: 🙏
Please provide:

  • A fix or update to ensure compatibility with Swift 6 / Xcode 26

Thanks in advance for your help! We are currently blocked from compiling our app with the upcoming Xcode/iOS release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions