我有一个可以在 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
Best Answer-推荐答案 strong>
好的,我已经很容易地解决了这个问题。即使我已经在 pList 中声明了我的 nib 文件,当我查看项目目标摘要时,不知何故只有 iPad nib 文件显示为主界面。所以我把应该在那里的那个放在那里,现在它也在 iPod 上工作。
关于iphone - 应用程序可在 iPhone 上运行,但在 iPod Touch 上无法运行,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/7254133/
|