1

我升级到 Flutter 2,当我在 Android Studio 上的 iPhone 11 Pro 上运行 App 时,出现以下错误。在 Xcode 上运行应用程序可以正常工作。在我升级到 Flutter 2 之前没有这个问题。

无法构建 iOS 应用 Xcode 构建的错误输出:↳</p>

2021-03-28 20:58:47.597 xcodebuild[26509:183755] DVTAssertions:/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 中的警告:(空) 调用 -platform 时,来自 00008030-001A5D3221BB802E 的 deviceType 为 NULL。对象:<DTDKMobileDeviceToken: 0x7f9889e5e380> 方法:-platform 线程:<NSThread: 0x7f9888030a60>{number = 2, name = (null)} 请在https://feedbackassistant.apple.com提交错误使用此警告消息和您可以提供的任何有用信息。2021-03-28 20:58:47.815 xcodebuild[26509:184029] DVTAssertions:/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 中的警告:(空) 调用 -platform 时,来自 00008030-001A5D3221BB802E 的 deviceType 为 NULL。对象:<DTDKMobileDeviceToken: 0x7f9889e5e380> 方法:-platform 线程:<NSThread: 0x7f9889b8ef80>{number = 10, name = (null)} 请在https://feedbackassistant.apple.com提交错误使用此警告消息和您可以提供的任何有用信息。2021-03-28 20:58:47.924 xcodebuild[26509:184029] DVTAssertions:/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 中的警告:(空) 调用 -platform 时,来自 00008030-001A5D3221BB802E 的 deviceType 为 NULL。对象:<DTDKMobileDeviceToken: 0x7f9889e5e380> 方法:-platform 线程:<NSThread: 0x7f9889b8ef80>{number = 10, name = (null)} 请在https://feedbackassistant.apple.com提交错误使用此警告消息和您可以提供的任何有用信息。2021-03-28 20:59:08.937 xcodebuild[26509:183961] DTDeviceKit: 无法从 'DVTFilePath:0x7f988a733370:'/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport/7.2/ 挂载 DDI DeveloperDiskImage.dmg'',错误=-402653035:错误域=com.apple.dtdevicekit 代码=806“无法为开发准备设备。” UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x7f9889f3f870 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653035 “设备拒绝配对尝试。” UserInfo={MobileDeviceErrorCode=(0xE8000095), com.apple.dtdevicekit。DVT_CALLING_CLIENT_BLOCK+ 7 8 DVTFoundation 0x0000000100a06da0 __DVTDispatchAsync_block_invoke + 1191 9 libdispatch.dylib 0x00007fff7266c6c4 _dispatch_call_block_and_release + 12 10 libdispatch.dylib 0x00007fff7266d658 _dispatch_client_callout + 8 11 libdispatch.dylib 0x00007fff7266f818 _dispatch_continuation_pop + 414 12 libdispatch.dylib 0x00007fff7266ef16 _dispatch_async_redirect_invoke + 703 13 libdispatch.dylib 0x00007fff7267b957 _dispatch_root_queue_drain + 326 14 libdispatch .dylib 0x00007fff7267c097 _dispatch_worker_thread2 + 92 15 libsystem_pthread.dylib 0x00007fff728c79f7 _pthread_wqthread + 220 16 libsystem_pthread.dylib 0x00007fff728c6b77 start_wqthread + 15),

4

0 回答 0