构建到 iOS 设备:DTDeviceKit:来自 <DEVICEID> 的 deviceType为空 [英] Build to iOS Device: DTDeviceKit: deviceType from &lt;DEVICEID&gt; was NULL

查看:22
本文介绍了构建到 iOS 设备:DTDeviceKit:来自 <DEVICEID> 的 deviceType为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Appcelerator Studio 中的新项目构建并编译到模拟器没有问题.选择 iOS 设备来构建它确实会在调用 xcodebuild 后出现错误.

New project in Appcelerator Studio builds and compiles to simulator with no problem. Choosing an iOS device to build it do presents an error after invoking xcodebuild.

我已经从 Appcelerator 下载了 Geocoder-Sample 项目,它编译并发送到同一台设备没有问题.

I've downloaded the Geocoder-Sample project from Appcelerator and it compiles and sends to the same device no problem.

没有完成代码.我正在使用新项目创建中的库存模板并尝试将其发送到 iPhone.

There is no code done. I'm using the stock template from a new project creation and trying to send it to the iPhone.

显示的错误:

[错误]:2019-06-08 09:29:00.360 xcodebuild[5225:52111] DTDeviceKit:来自 5bf3c1e2f2cc885d5f3db33825847fab3e4f80b6 的 deviceType 为 NULL[错误]:2019-06-08 09:29:00.361 xcodebuild[5225:52111] DTDeviceKit:来自 5bf3c1e2f2cc885d5f3db33825847fab3e4f80b6 的 deviceType 为 NULL

[ERROR] : 2019-06-08 09:29:00.360 xcodebuild[5225:52111] DTDeviceKit: deviceType from 5bf3c1e2f2cc885d5f3db33825847fab3e4f80b6 was NULL [ERROR] : 2019-06-08 09:29:00.361 xcodebuild[5225:52111] DTDeviceKit: deviceType from 5bf3c1e2f2cc885d5f3db33825847fab3e4f80b6 was NULL

我使用的是正确的配置文件和开发者证书.

I'm using a correct provisioning profile and developer certificate.

推荐答案

我们在更新 XCode 后在 Flutter 中遇到了这个问题.我们已经解决了它执行:

We got this problem in Flutter after updating XCode. We've solved it executing:

flutter clean

这篇关于构建到 iOS 设备:DTDeviceKit:来自 <DEVICEID> 的 deviceType为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆