HereMaps iOS SDK v4.13.3 未使用 Xcode 14.3 编译

问题描述 投票:0回答:0

看到两个错误:

.../Sources/HereMaps/AnnotationState.swift:2:8 Failed to build module 'heresdk'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)', while this compiler is 'Apple Swift version 5.8 (swiftlang-5.8.0.117.11 clang-1403.0.22.8.60)'). Please select a toolchain which matches the SDK.

以及swift界面中的一些错误:

@objc @_inheritsConvenienceInitializers @IBDesignable @_Concurrency.MainActor(unsafe) open class MapView : UIKit.UIView, heresdk.MapViewBase {

/path/to/DerivedData/heresdk.framework/Modules/heresdk.swiftmodule/x86_64-apple-ios-simulator.swiftinterface:5702:69 'MainActor' is only available in iOS 13.0 or newer

应用程序正在使用 MainActor 功能,但它似乎没有设置 iOS 13.0 最低要求。

here-api heremaps heremaps-ios-sdk
© www.soinside.com 2019 - 2024. All rights reserved.