应用程序可以在 iPhone 上运行,但不能在 iPod Touch 上运行

发布于 2024-12-02 09:11:31 字数 4232 浏览 1 评论 0原文

我有一个可以在 iPhone 3GS 或 4 上部署的应用程序,并且运行没有问题。但是当我尝试在 iPod Touch 第三代和第四代上部署它时,它构建时没有错误,但除了黑屏之外什么也没有出现。 这是我尝试安装应用程序时从设备获得的日志。

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

I have an app that i can deploy on iPhone 3GS or 4 and it work with no problem. But when i try to deploy it on iPod Touch 3rd and 4th gen it builds with no errors but nothing appears except a black screen.
Here is the log that i get from the device when i try to instal the app.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一片旧的回忆 2024-12-09 09:11:31

好的,我已经很轻松地解决了这个问题。即使我已经在 pList 中声明了我的 nib 文件,但不知何故,当我查看项目目标摘要时,只有 iPad nib 文件显示为主界面。所以我把应该在那里的那个放在那里,现在它也可以在 iPod 上运行了。

OK, I have resolved this very easily. Even I have stated my nib files in pList, somehow only iPad nib file was displayed as Main Interface when I look at the project target summary. So I put there the one that should be there and now it is working on IPod as well.

小瓶盖 2024-12-09 09:11:31

您似乎正在尝试获取移动设备类型信息(大概是 IMEI 等),但 iPod Touch 上不会有任何信息。

It looks like you're trying to get mobile type info (IMEI etc presumably), and there won't be any on an iPod Touch.

走走停停 2024-12-09 09:11:31

我会寻找 2 个可能的原因:iOS 版本、手机特定代码。

对于第一个选项,我会尝试在不同版本上使用 iPhone 模拟器(您可以在模拟器本身上更改它)。如果这看起来不是问题,请尝试在代码中搜索可能使用手机特定内容的位置,例如尝试获取 IMEI。

I'd look for 2 posible causes: iOS versions, phone specific code.

For the first option, I'd try to use the iphone simulator on different versions (you can change that on the simulator itself). If that doesn't look like the problem, then try to search for a place in your code where you might use phone specific things, like trying to get the IMEI.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文