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()
}
}