驱动程序 SDK for iOS 版本说明
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本部分包含 Driver SDK for iOS 的版本说明。
Navigation SDK for iOS 版本说明。
v10.0.0(2025 年 6 月)
已更改
- 对 iOS 15 的支持现已冻结。最低 iOS 版本现为 16.0。
- 修复了 gRPC
UNAVAILABLE status code 14
网络故障。
v9.2.1(2025 年 4 月)
已更改
v9.2(2025 年 1 月)
已更改
v9.0(2024 年 7 月)
已更改
- 支持 Geo iOS SDK v9.0。
- 对 iOS 14 的支持现已冻结。最低 iOS 版本现在为 15.0。
- 此版本包含 .xcprivacy 文件,以支持 Apple 隐私权清单。
- 修复了以下 bug:在 v3.3.0 版本中,预览版类
GMTSTask
和 GMTDTaskInfo
不是导出的符号。
v3.3.0(2024 年 3 月)
已更改
- 支持驱动程序 SDK 和消费者 SDK 兼容性,以便它们可以在同一应用中构建。
- 支持 Driver 和 Consumer SDK 的 Swift Package Manager。
v3.2.0(2023 年 12 月)
已更改
v3.1.1(2023 年 10 月)
已更改
- 修复了
GMSMapViewDelegate
方法未被调用的 bug。
v3.1.0(2023 年 9 月)
已更改
- Driver SDK 的 CocoaPod 现在是一个 .xcframework,可同时支持基于 Intel 和 Apple 芯片的 Mac 上开发者的设备和模拟器 build。
v3.0.1(2023 年 8 月)
已更改
v3.0.0(2023 年 5 月)
已更改
从以下接口中移除了使用 GMTSLocationInfo 的已弃用初始化程序:
GMTDCreateDeliveryTaskRequest
GMTDVehicleStop
GMTSTask
对 iOS 13 的支持现已冻结。最低 iOS 版本现在为 14.0。
新的支持的最低 Xcode 版本为 14.0。请注意 Xcode 14 版本说明中有关停止支持使用 bitcode 进行 build 的弃用声明。
根据移动操作系统版本支持政策,自 Driver SDK for iOS v3.0.0 起,我们将停止对 iOS 13 的支持。新支持的最低操作系统版本为 iOS 14。旧版 SDK 将继续支持 iOS 13。如果您的依赖项未指定版本号,IDE 将加载最新的 SDK 版本,并且您应用的新 build 将不支持 iOS 13。在应用的 build 依赖项中指定 Driver SDK for iOS 的版本,以便控制何时提高新版应用的最低支持操作系统。
通知
冻结对 iOS 14 的支持 - 2023 年 5 月 15 日
根据移动操作系统版本支持政策,我们将在即将发布的 iOS 版 Driver SDK 主要版本中停止对 iOS 14 的支持。
自 2024 年第二季度起发布的 Driver SDK for iOS 版本将支持最低 iOS 15。之前的 SDK 版本将继续支持 iOS 14。
如果您的依赖项未指定版本号,IDE 将加载最新的 SDK 版本,并且您应用的新 build 将不支持 iOS 14。
在应用的 build 依赖项中指定 Driver SDK for iOS 的版本,以便控制何时提高应用新版本的最低支持操作系统。
v2.2.0(2023 年 1 月)
- 修复了车辆更新中的位置时间戳被截断为最接近的秒数的 bug。DriverSDK 现在以毫秒级精度报告位置更新的时间戳。
- DriverSDK iOS 现在会填充上传的车辆位置中的更多字段。新填充的字段包括:
heading_accuracy
、altitude
、altitude_accuracy
、speed
、speed_accuracy
、location_sensor
、raw_location
、raw_location_time
、raw_location_sensor
和 raw_location_accuracy
。DriverSDK 还会停止报告已弃用的 speed_kph
字段。
- 将头文件中的条款及条件的网址更新为正确的链接,并修复了其他一些标点符号方面的小问题。
- 修复了文档中的各种拼写、标点和其他小错误。
- 类
GMTSVehicleMatch
已弃用。
v2.1.0(2022 年 10 月 10 日)
已更改
v2.0.0(2022 年 7 月 26 日)
已更改
通知
在 2023 年的主要版本更新中,我们将冻结对 Driver iOS SDK 的 iOS 13 支持(弃用)。自 2023 年 6 月起,支持的最低 iOS 版本将为 iOS 14。客户应在更新之前,通过更改代码中的最低版本支持标志来做好准备。
v1.1.0(2022 年 4 月 28 日)
内部改进。
v1.0.5(2022 年 3 月 28 日)
内部 bug 修复。
v1.0(2021 年 11 月 29 日)
此版本支持的最低 iOS 版本为 12.0。
API 更新
清理了 DriverAPI 接口
从 GMTDDriverAPI
中移除了 Objective-C 公共初始化程序。
身份验证 API 更改
- 从
GMTDAuthorizationContext
接口中移除了不必要的属性。
从
GMTDAuthorizationContext
接口中移除了不必要的属性。
已弃用 GMTSServiceType
。现在,您只需在 GMTDAuthorizationContext
中获取车辆 ID 的声明即可。
(void) fetchAuthTokenForServiceType:(GMTSServiceType)serviceType
authorizationContext:(nullable GMTSAuthorizationContext *)authorizationContext
completion:(GMTSAuthTokenFetchCompletionHandler)completion
现为
(void)fetchTokenWithContext:(nullable GMTDAuthorizationContext *)authorizationContext
completion:(GMTDAuthTokenFetchCompletionHandler)completion;
已将 GMTSAuthorizationContext
替换为 GMTDAuthorizationContext
。
将 AuthorizationContext
更改为包含属性的类,并移除了 serviceType
。
崩溃报告
在 SDK 初始化期间添加了崩溃检测功能。您还可以选择在 GMTDServices
上使用 setAbnormalTerminationReportingEnabled:
API 来选择停用。
冻结对 iOS 12 的支持 - 2021 年 10 月 18 日
由于内部依赖项发生了变化,我们将在即将发布的 Driver SDK for iOS 主要版本中冻结对 iOS 12 的支持。
适用于 iOS 的 Driver SDK v2.0 或更高版本将仅支持运行 iOS 13 及更高版本的设备。旧版 SDK 将继续支持 iOS 12。
如果 CocoaPods 或 Carthage 中的依赖项未指定版本号,Xcode 将加载最新版本,并且应用的新 build 将不支持 iOS 12。
请务必在应用的 build 依赖项中指定版本,以便控制何时提高应用新版本的最低支持操作系统版本。如需查看指定版本的示例,请参阅 Maps SDK for iOS 文档。
请参阅有关应用维护最佳实践的指南。
v0.3.0 Beta(2021 年 8 月 30 日)
API 变更
v0.2.0 Beta(2021 年 7 月 9 日)
API 变更
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThe Driver SDK for iOS provides tools for building apps for delivery drivers and on-demand rideshare services, with regular updates and bug fixes.\u003c/p\u003e\n"],["\u003cp\u003eMinimum iOS version support has been raised over time, with iOS 15 being the current minimum requirement as of July 2024.\u003c/p\u003e\n"],["\u003cp\u003eThe SDK has undergone significant changes including support for Swift Package Manager, Apple Privacy Manifests, and compatibility for building Driver and Consumer SDKs in the same app.\u003c/p\u003e\n"],["\u003cp\u003eSeveral features have been deprecated or removed, such as the Terminal Point Service and initializers using \u003ccode\u003eGMTSLocationInfo\u003c/code\u003e, requiring developers to update their code accordingly.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides clear communication about upcoming changes and frozen support for older iOS versions to help developers plan ahead.\u003c/p\u003e\n"]]],["The Driver SDK for iOS release notes detail updates across multiple versions. Key changes include: freezing support for older iOS versions (12, 13, and 14), updating minimum Xcode support, and introducing Apple Privacy Manifests. The SDK now supports Swift Package Manager and offers an .xcframework for wider compatibility. Bug fixes, documentation improvements, and API refinements are consistently addressed. The SDK has undergone changes in classes such as `GMTDDriverAPI` and `GMTSServiceType`, and removed `Terminal Point Service`.\n"],null,["This section contains release notes for the Driver SDK for iOS.\n| **See Also:** [Navigation SDK for iOS release notes](/maps/documentation/navigation-sdk-ios/release-notes).\n\nv10.0.0 (Jun, 2025)\n\nChanged\n\n- Support for iOS 15 is now frozen. The minimum iOS version is now 16.0.\n- Fixes gRPC `UNAVAILABLE status code 14` network failures.\n\nv9.2.1 (April, 2025)\n\nChanged\n\n- Version bump from 9.2 to 9.2.1\n\nv9.2 (January, 2025)\n\nChanged\n\n- Version bump from 9.0 to 9.2.\n\nv9.0 (July, 2024)\n\nChanged\n\n- Supports Geo iOS SDKs v9.0.\n- Support for iOS 14 is now frozen. The minimum iOS version is now 15.0.\n- This release includes the .xcprivacy file to support Apple Privacy Manifests.\n- Fixed a bug where the Preview-release classes `GMTSTask` and `GMTDTaskInfo` were not exported symbols in the v3.3.0 release.\n\nv3.3.0 (March, 2024)\n\nChanged\n\n- Supports Driver and Consumer SDKs compatibility so they can be built in the same app.\n- Supports Swift Package Manager for Driver and Consumer SDKs.\n\nv3.2.0 (December, 2023)\n\nChanged\n\n- Bug fixes and documentation updates.\n\nv3.1.1 (October, 2023)\n\nChanged\n\n- Fixes bug with `GMSMapViewDelegate` methods not being called.\n\nv3.1.0 (Sept, 2023)\n\nChanged\n\n- [The CocoaPod](/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/trip-order-progress/driver-sdk/driver_sdk_quickstart_ios#use-cocoapods) for Driver SDK is now an **.xcframework** which supports both device and simulator builds for developers on both Intel- and Apple Silicon-based Macs.\n\nv3.0.1 (Aug, 2023)\n\nChanged\n\n- Fixes undefined symbols error.\n\nv3.0.0 (May, 2023)\n\nChanged\n\n- Removes deprecated initializers that use GMTSLocationInfo from the following interfaces:\n\n - `GMTDCreateDeliveryTaskRequest`\n - `GMTDVehicleStop`\n - `GMTSTask`\n- Support for iOS 13 is now frozen. The minimum iOS version is now 14.0.\n\n- The new [minimum supported version of Xcode](https://developers.google.com/maps/software-support#ide) is 14.0. Note the deprecations in the Xcode 14 [release notes](https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes) about the end of support for building with bitcode.\n\n- According to the Mobile OS version support policy, we are freezing support for iOS 13 as of Driver SDK for iOS v3.0.0. The new minimum supported OS is iOS 14. Earlier SDK versions will continue supporting iOS 13.\n If your dependencies don't specify a version number, your IDE will load the newest SDK version and new builds of your app won't support iOS 13.\n Specify a version of the Driver SDK for iOS in your application's build dependencies in order to control when you raise the minimum supported OS for new versions of your app.\n\nAnnouncement\n\nFreezing support for iOS 14 - May 15, 2023\n\nAccording to the [Mobile OS version support\npolicy](/maps/software-support#mobile-os-version-support-policy), we are\nfreezing support for iOS 14 in an upcoming major version of Driver SDK for\niOS.\n\nVersions of Driver SDK for iOS released beginning the second quarter of 2024\nwill support a minimum of iOS 15. Earlier SDK versions will continue supporting\niOS 14.\n\nIf your dependencies don't specify a version number, your IDE will load the\nnewest SDK version and new builds of your app won't support iOS 14.\n\n[Specify a\nversion](/maps/documentation/ios-sdk/versions#installation) of the\nDriver SDK for iOS in your application's build dependencies in order to control\nwhen you raise the minimum supported OS for new versions of your app.\n\nv2.2.0 (January, 2023)\n\n- Fixes bug where location timestamps in vehicle updates were truncated to the nearest second. DriverSDK now reports the timestamp of location updates with millisecond precision.\n- DriverSDK iOS now fills out more fields in uploaded vehicle locations. Newly filled fields include: `heading_accuracy`, `altitude`, `altitude_accuracy`, `speed`, `speed_accuracy`, `location_sensor`, `raw_location`, `raw_location_time`, `raw_location_sensor`, and `raw_location_accuracy`. DriverSDK also ceases reporting the deprecated `speed_kph` field.\n- Updates the URL for terms and conditions in the header files to the correct link, and fixes other minor issues with punctuation.\n- Fixes various spelling, punctuation, and other minor errors were fixed in the documentation.\n- The class `GMTSVehicleMatch` was deprecated.\n\nv2.1.0 (October 10, 2022)\n\nChanged\n\n- Bug fixes and documentation updates.\n\nv2.0.0 (July 26, 2022)\n\nChanged\n\n- Removed the Terminal Point Service, which includes:\n\n - `GMTSTerminalPoint`\n - `GMTSTerminalPointAccessPoint`\n - `GMTSTerminalPointTravelMode`\n - `GMTSTerminalPointsVehicleSearchPreference`\n - `GMTSTravelModeETA`\n- Support for iOS 12 is now frozen. The minimum iOS version is now 13.0.\n\nAnnouncement\n\nWe are freezing support (deprecating) for iOS 13 in the 2023 major version updates for Driver iOS SDK. The minimum iOS version supported will be iOS 14, starting in June 2023. Customers should prepare by changing the minimum version support flag in their code before they update.\n\nv1.1.0 (April 28, 2022) Internal improvements.\n\n\u003cbr /\u003e\n\nv1.0.5 (March 28, 2022)\n\nInternal bug fixes.\n\nv1.0 (November 29, 2021)\n\nThe minimum supported iOS version for this release is 12.0.\n\nAPI updates\n\nCleaned up DriverAPI interfaces\n\nRemoved Objective-C public initializer from\n[`GMTDDriverAPI`](/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/interface_g_m_t_d_driver_a_p_i).\n\nAuthentication API changes\n\n- Removed unnecessary properties from the `GMTDAuthorizationContext` interface.\n\nRemoved unnecessary properties from the `GMTDAuthorizationContext` interface.\n\n\u003cbr /\u003e\n\n`GMTSServiceType` has been deprecated. You now only need to get claims for the\nvehicle ID in `GMTDAuthorizationContext`.\n\n\n`(void) fetchAuthTokenForServiceType:(GMTSServiceType)serviceType\nauthorizationContext:(nullable GMTSAuthorizationContext *)authorizationContext\ncompletion:(GMTSAuthTokenFetchCompletionHandler)completion`\n\nis now\n\n`(void)fetchTokenWithContext:(nullable GMTDAuthorizationContext *)authorizationContext\ncompletion:(GMTDAuthTokenFetchCompletionHandler)completion;`\n\nReplaced `GMTSAuthorizationContext` with\n[`GMTDAuthorizationContext`](/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/interface_g_m_t_d_authorization_context).\n\nChanged `AuthorizationContext` to a class with properties, and removed\n`serviceType`.\n\nCrash reporting\n\nAdded crash detection during SDK initialization. There is also an option to opt\nout by using the `setAbnormalTerminationReportingEnabled:` API on\n`GMTDServices`.\n\nFreezing support for iOS 12 - Oct 18, 2021\n\nIn response to changes in our internal dependencies, we are freezing\nsupport for iOS 12 in an upcoming major version of Driver SDK for iOS.\n\nDriver SDK for iOS v2.0 or higher will only support devices running a minimum of\niOS 13. Earlier SDK versions will continue to support iOS 12.\n\nIf your dependencies in CocoaPods or Carthage don't\nspecify a version number, Xcode will load the newest version and new builds of\nyour app won't support iOS 12.\n\nBe sure to specify a version in your application's build dependencies in order to control when you raise the minimum supported OS for new versions of your app.\nSee examples of specifying a version in [Maps SDK for iOS](/maps/documentation/ios-sdk/versions#installation) documentation.\nSee the guidance on [app maintenance best practices](/maps/documentation/ios-sdk/versions#maintenance).\n\nv0.3.0 Beta (August 30th, 2021)\n\nAPI changes\n\n- [GMTSServiceType](https://developers.google.com/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/group___service_type) now represents the tokens needed for vehicle or task operations instead of Fleet Engine services.\n- [GMTDRidesharingDriverAPI](https://developers.google.com/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/interface_g_m_t_d_ridesharing_driver_a_p_i) is now initalized with a [GMTDDriverContext](https://developers.google.com/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/interface_g_m_t_d_driver_context) object.\n\nv0.2.0 Beta (July 9th, 2021)\n\nAPI changes\n\n- Replaced GRDFleetEngine with [GMTDVehicleReporter](https://developers.google.com/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/interface_g_m_t_d_vehicle_reporter).\n- Added [GMTDRidesharingDriverAPI](https://developers.google.com/maps/documentation/transportation-logistics/on-demand-rides-deliveries-solution/reference/driver/ios/interface_g_m_t_d_ridesharing_driver_a_p_i).\n- Renamed GRDServices to GMTDServices and removed it from public headers.\n- Updated class prefix from GRD to GMTD.\n- Updated class prefix from GRS to GMTS."]]