Select to view content in your preferred language

ArcGIS Toolkit 300.x fails to compile with Xcode 27 Beta 3 (iOS 27 SDK)

126
1
Tuesday
CristhianSanchez
Occasional Contributor

Hello,

We found a compilation issue when building a project with the ArcGIS Maps SDK for Swift 300.x and the ArcGIS Toolkit using Xcode 27.0 Beta 3 targeting the iOS 27 SDK.

The compilation fails in:

ArcGISToolkit/Utility/MarkdownView

The following method produces the error:

mutating func visitDocument(_ document: Document) -> Result {
    visitChildren(document.children)
}

 Compiler error:

'Document' is ambiguous for type lookup in this context

Changing the parameter type to explicitly qualify a namespace (e.g Markdown) resolves the issue:

mutating func visitDocument(_ document: Markdown.Document) -> Result {
    visitChildren(document.children)
}

After making this change, the project compiles successfully with Xcode 27.0 Beta 3 and the iOS 27 SDK.

Since this appears to be a compiler compatibility issue introduced in Xcode 27 Beta 3 rather than a functional bug, we wanted to report it in case it helps prepare the Toolkit for the final Xcode 27 and iOS 27 releases.

Would the team be able to review this and consider updating the Toolkit accordingly?

Thank you.

1 Reply
ZacharyKline
Esri Contributor

Hello. Thank you for reporting this. We are aware of this and plan on fixing it soon.

 

Thanks!