Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build to iOS Device: DTDeviceKit: deviceType from <DEVICEID> was NULL

Tags:

appcelerator

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.

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

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

The error being shown:

[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.

like image 493
Aaron B Avatar asked Jun 08 '19 14:06

Aaron B


3 Answers

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

flutter clean
like image 120
CarlosMacMar Avatar answered Nov 13 '22 12:11

CarlosMacMar


I used react-native run-ios --device <device name> from the command line and encountered this error. It turned out that I had no Apple Developer account added in Xcode, and there was no message about it when building from a shell. I went to Xcode > Preferences... > Accounts and added one.

Then Xcode suggested adding my phone as a device for development to my Apple Developer account. After doing so, errors disappeared, and an app got installed on the iPhone.

like image 32
Terbiy Avatar answered Nov 13 '22 12:11

Terbiy


Flutter- In my case, I have deleted the previous build with same bundle Id.

like image 3
Naveen Sharma Avatar answered Nov 13 '22 11:11

Naveen Sharma