Приложение работает на iPhone, но не работает на iPod Touch - PullRequest
2 голосов
/ 31 августа 2011

У меня есть приложение, которое я могу развернуть на iPhone 3GS или 4, и оно работает без проблем.Но когда я пытаюсь установить его на iPod Touch 3-го и 4-го поколения, он собирается без ошибок, но ничего не появляется, кроме черного экрана.Вот журнал, который я получаю с устройства, когда пытаюсь установить приложение.

Aug 31 10:46:33 unknown misagent[1741] <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Aug 31 10:46:33 unknown misagent[1741] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Aug 31 10:46:33 unknown misagent[1741] <Error>: profile not valid: 0xe8008012
Aug 31 10:46:35 unknown installd[1744] <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Aug 31 10:46:35 unknown installd[1744] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Aug 31 10:46:35 unknown SpringBoard[27] <Warning>: Killing <SBApplication: 0x1dac2200> 'myApp'  activate:  deactivate:  for app installation
Aug 31 10:46:36 unknown installd[1744] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Aug 31 10:46:36 unknown SpringBoard[27] <Warning>: Reloading application state for 'myApp' as its modification date has changed
Aug 31 10:46:36 unknown SpringBoard[27] <Warning>: Reloading and rendering all application icons.
Aug 31 10:46:38 unknown com.apple.debugserver-50[1748] <Warning>: debugserver-50 for armv6 Copyright (c) 2007-2009 Apple, Inc.  All Rights Reserved.
Aug 31 10:46:38 unknown com.apple.debugserver-50[1748] <Warning>: Connecting to com.apple.debugserver service...
Aug 31 10:46:38 unknown kernel[0] <Debug>: lockbot[1740] Builtin profile: debugserver (sandbox)
Aug 31 10:46:38 unknown SpringBoard[27] <Notice>: MultitouchHID(1cd13310) uilock state: 1 -> 0
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) platform_supports_camera_import: Platform is configured for camera import
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) handle_attached_media: The attached media object is a disk image. Dropping like it's hot.
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0s2s1 is not removable. Ignoring.
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0s2 is not removable. Ignoring.
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0s1 is not removable. Ignoring.
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0 is not removable. Ignoring.
Aug 31 10:46:38 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:myApp[0x1ab2]) Spawned and waiting for the debugger to attach before continuing...
Aug 31 10:46:38 unknown com.apple.debugserver-50[1748] <Warning>: Got a connection, waiting for debugger instructions for task "(null)".
Aug 31 10:46:39 unknown kernel[0] <Debug>: set_crc_notification_state 0
Aug 31 10:46:39 unknown kernel[0] <Debug>: launchd[1750] Builtin profile: container (sandbox)
Aug 31 10:46:39 unknown kernel[0] <Debug>: launchd[1750] Container: /private/var/mobile/Applications/8ASD873E87-A23C-4234-8848-234KJAS23 [69] (sandbox)
Aug 31 10:46:48 unknown MobileStorageMounter[1749] <Notice>: (0x3ec9048c) idle_timer_callback: Exiting after idle timeout

Ответы [ 3 ]

2 голосов
/ 22 сентября 2011

ОК, я решил это очень легко.Даже когда я указал свои файлы пера в pList, почему-то только основной файл iPad отображался как основной интерфейс, когда я смотрю сводную информацию о проекте.Поэтому я поместил туда тот, который должен быть там, и теперь он работает и на IPod.

1 голос
/ 31 августа 2011

Я бы искал 2 возможных причины: версии для iOS, код телефона.

Для первого варианта я бы попробовал использовать симулятор iphone на разных версиях (вы можете изменить это на самом симуляторе). Если это не похоже на проблему, попробуйте найти место в вашем коде, где вы могли бы использовать определенные вещи для телефона, например, пытаясь получить IMEI.

1 голос
/ 31 августа 2011

Похоже, вы пытаетесь получить информацию о типе мобильного устройства (вероятно, IMEI и т. Д.), И на iPod Touch их не будет.

...