How to get the ямс of connected ios phone in Linux using command

How to get the ямс of connected ios device ямс in Linux, or c ++ programming. basically, I использовал the Qt in Linux. and I want to get the ямс of the connected device ямс. after в searching in google we met в UIdevice class. By writing UIDevice.currentDevice () .name we get the ямс of the iPhone. but the UIdevice is в class of Обхективе К. I also follow the following steps: - reference - https://wiki.qt.io/IOS_device_info

All methods, usage Objective-C code. You could использовал Objective-C in your application on C ++. All you need it, just add new class with header *. h and implementation file *. мм. Then add this file to you *.pro using special keywords:

OBJECTIVE_HEADERS + = \Helpers/iOS/redminedevicehelper.h

OBJECTIVE_SOURCES + = \Helpers/iOS/redminedevicehelper.mm

Also, you need to использовал frameworks to get access to basic Objective-C classes and methods:

UIKit

#import <UIKit/UIKit.h>

Foundation

#import <Foundation/Foundation.h>

In the *.pro file you need add this framework схвати в library:

LIBS + =-framework Foundation-framework CoreFoundation-framework УИКИТ Ов to access the UIDevice class in qt.

But nothing подарил.

Please help я. if any one know about this. Sorry for my Бад Энглис. I installed the libimobiledevice packages in Linux.

Thanks, Рам Кумар.

0
задан 31 December 2015 в 12:05

1 ответ

В маке используется углеродное какао. тогда используются все файлы заголовков target-c. в Linux углерод-какао не используется, поэтому файлы заголовков target-c не поддерживаются в Linux.

0
ответ дан 26 July 2019 в 10:50

Другие вопросы по тегам:

Похожие вопросы: