I have a project using arcgis-maps-sdk-swift 200.5. It builds with XCode 15.4 but now I´m testing XCode 16 and get some errors when trying to build.
Undefined symbol: ArcGIS.UniqueValue.__allocating_init(description: Swift.String, label: Swift.String, symbol: ArcGIS.Symbol?, values: [Any], alternateSymbols: [ArcGIS.Symbol]) -> ArcGIS.UniqueValue
Undefined symbol: ArcGIS.Graphic.attributes.getter : [Swift.String : Any]
Undefined symbol: ArcGIS.Graphic.__allocating_init(geometry: ArcGIS.Geometry?, attributes: [Swift.String : Any], symbol: ArcGIS.Symbol?) -> ArcGIS.Graphic
Undefined symbol: ArcGIS.Location.__allocating_init(position: ArcGIS.Point, horizontalAccuracy: Swift.Double, verticalAccuracy: Swift.Double, speed: Swift.Double, course: Swift.Double, isLastKnown: Swift.Bool, timestamp: Foundation.Date, additionalSourceProperties: [ArcGIS.Location.SourcePropertyKey : Any]) -> ArcGIS.Location
Example code:
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
}
func test() -> Void {
let g = ArcGIS.Graphic()
}
}
Solved! Go to Solution.
ArcGIS Maps SDK for Swift 200.5.1 was released today. It addresses the compatibility issue with Xcode 16.
Once you update your Xcode projects to use 200.5.1, you will be able to use either Xcode 16 or Xcode 15.4. Depending on your project settings, you may need to address build warnings or errors after updating to ArcGIS Maps SDK for Swift 200.5.1 (see the release notes for more information).
The blog post here on Esri Community has been updated.
If you continue to experience issues, please DM me or let us know here in the forums.