我使用此方法获取设备模型名称:
+ (NSString *) machineModel
{
const char *name = "hw.model";
#if TARGET_OS_IPHONE
// .model on iOS returns internal model name (e.g. "N51AP") when we'd prefer to see the model identifier here ("iPhone6,1")
name = "hw.machine";
#endif
当我尝试在iPhone7+上使用iPhone7+和iOS10.3时,每个应用程序都会出现这种情况。但它在我的iPhone7 iOS10.1上没有任何问题。
这是我得到的信息:
libMobileGestalt MobileGestaltSupport.m:153: pid 304 (OpenGLES_Ch4_1) does not have sandbox access for ... and IS NOT appropriately entitled
libMobileGestalt MobileGestalt.c:549: no access to InverseDeviceID
有人