iphone - 应用程序可在 iPhone 上运行,但在 iPod Touch 上无法运行
<p><p>我有一个可以在 iPhone 3GS 或 4 上部署的应用程序,它可以正常工作。但是当我尝试在 iPod Touch 第 3 代和第 4 代上部署它时,它构建时没有错误,但除了黑屏之外什么都没有出现。
这是我尝试安装应用程序时从设备获取的日志。</p>
<pre><code>Aug 31 10:46:33 unknown misagent <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Aug 31 10:46:33 unknown misagent <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Aug 31 10:46:33 unknown misagent <Error>: profile not valid: 0xe8008012
Aug 31 10:46:35 unknown installd <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Aug 31 10:46:35 unknown installd <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Aug 31 10:46:35 unknown SpringBoard <Warning>: Killing <SBApplication: 0x1dac2200> 'myApp'activate:deactivate:for app installation
Aug 31 10:46:36 unknown installd <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Aug 31 10:46:36 unknown SpringBoard <Warning>: Reloading application state for 'myApp' as its modification date has changed
Aug 31 10:46:36 unknown SpringBoard <Warning>: Reloading and rendering all application icons.
Aug 31 10:46:38 unknown com.apple.debugserver-50 <Warning>: debugserver-50 for armv6 Copyright (c) 2007-2009 Apple, Inc.All Rights Reserved.
Aug 31 10:46:38 unknown com.apple.debugserver-50 <Warning>: Connecting to com.apple.debugserver service...
Aug 31 10:46:38 unknown kernel <Debug>: lockbot Builtin profile: debugserver (sandbox)
Aug 31 10:46:38 unknown SpringBoard <Notice>: MultitouchHID(1cd13310) uilock state: 1 -> 0
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) platform_supports_camera_import: Platform is configured for camera import
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter <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 <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0s2s1 is not removable. Ignoring.
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0s2 is not removable. Ignoring.
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0s1 is not removable. Ignoring.
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) media_attach_callback: Inspecting the attached media
Aug 31 10:46:38 unknown MobileStorageMounter <Notice>: (0x3ec9048c) handle_attached_media: The attached media disk0 is not removable. Ignoring.
Aug 31 10:46:38 unknown com.apple.launchd <Warning>: (UIKitApplication:myApp) Spawned and waiting for the debugger to attach before continuing...
Aug 31 10:46:38 unknown com.apple.debugserver-50 <Warning>: Got a connection, waiting for debugger instructions for task "(null)".
Aug 31 10:46:39 unknown kernel <Debug>: set_crc_notification_state 0
Aug 31 10:46:39 unknown kernel <Debug>: launchd Builtin profile: container (sandbox)
Aug 31 10:46:39 unknown kernel <Debug>: launchd Container: /private/var/mobile/Applications/8ASD873E87-A23C-4234-8848-234KJAS23 (sandbox)
Aug 31 10:46:48 unknown MobileStorageMounter <Notice>: (0x3ec9048c) idle_timer_callback: Exiting after idle timeout
</code></pre></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>好的,我已经很容易地解决了这个问题。即使我已经在 pList 中声明了我的 nib 文件,当我查看项目目标摘要时,不知何故只有 iPad nib 文件显示为主界面。所以我把应该在那里的那个放在那里,现在它也在 iPod 上工作。</p></p>
<p style="font-size: 20px;">关于iphone - 应用程序可在 iPhone 上运行,但在 iPod Touch 上无法运行,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/7254133/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/7254133/
</a>
</p>
页:
[1]