小编Dom*_*Dev的帖子

xcode MKMapView 确实失败并出现错误:Error Domain=kCLErrorDomain Code=1“(null)”

我在 xcode 中编写地图时遇到以下错误:

\n
2021-01-09 19:02:48.228694+0100 BudapestBoards[31795:558225] Metal API Validation Enabled\n2021-01-09 19:02:48.433777+0100 BudapestBoards[31795:558225] This app has attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an \xe2\x80\x9cNSLocationWhenInUseUsageDescription\xe2\x80\x9d key with a string value explaining to the user how the app uses this data\n2021-01-09 19:02:50.483788+0100 BudapestBoards[31795:558499] [MKCoreLocationProvider] CLLocationManager(<CLLocationManager: 0x600002b2b5b0>) for <MKCoreLocationProvider: 0x600001b30360> did fail with error: Error Domain=kCLErrorDomain Code=1 "(null)"\nCoreSimulator 732.18.6 - Device: iPhone 12 Pro Max (B1F529FE-C1E7-4C0A-B918-A3C76E006F27) - Runtime: iOS 14.3 (18C61) - DeviceType: iPhone 12 …
Run Code Online (Sandbox Code Playgroud)

xcode dictionary ios swift mobile-development

2
推荐指数
1
解决办法
5429
查看次数

标签 统计

dictionary ×1

ios ×1

mobile-development ×1

swift ×1

xcode ×1