- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我离开我的应用程序,转到设置并更改手机上的语言时,我的应用程序(仍然驻留在后台)崩溃。
是否有接口(interface)或我应该实现的东西,或者这是预期的行为?
我使用的代码非常简单,实际上只有一个 xib,本地化为英语和法语。
没有作为产品的崩溃日志,但控制台输出以下内容:
May 29 12:08:30 unknown SpringBoard[1723] <Warning>: Killing <SBApplication: 0x1f57d320> com.MightyZeppelin.LocalizediPhone activate: deactivate: for app installation
May 29 12:08:31 unknown SpringBoard[1723] <Warning>: Reloading application state for 'com.MightyZeppelin.LocalizediPhone' as its modification date has changed
May 29 12:08:32 unknown SpringBoard[1723] <Warning>: Reloading and rendering all application icons.
May 29 12:08:35 unknown com.apple.debugserver-50[1755] <Warning>: debugserver-50 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
May 29 12:08:35 unknown com.apple.debugserver-50[1755] <Warning>: Connecting to com.apple.debugserver service...
May 29 12:08:35 unknown kernel[0] <Debug>: lockbot[1747] Builtin profile: debugserver (sandbox)
May 29 12:08:35 unknown SpringBoard[1723] <Notice>: MultitouchHID(1f513310) uilock state: 1 -> 0
May 29 12:08:35 unknown MobileStorageMounter[1756] <Notice>: (0x3f4dd48c) platform_supports_camera_import: Platform is NOT configured for camera import
May 29 12:08:36 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Spawned and waiting for the debugger to attach before continuing...
May 29 12:08:36 unknown com.apple.debugserver-50[1755] <Warning>: Got a connection, waiting for debugger instructions for task "(null)".
May 29 12:08:36 unknown kernel[0] <Debug>: launchd[1757] Builtin profile: container (sandbox)
May 29 12:08:36 unknown kernel[0] <Debug>: launchd[1757] Container: /private/var/mobile/Applications/D0AA4DB0-9D85-4C7B-84EF-938C8C8DC952 [69] (sandbox)
May 29 12:08:45 unknown MobileStorageMounter[1756] <Notice>: (0x3f4dd48c) idle_timer_callback: Exiting after idle timeout
May 29 12:08:54 unknown Preferences[1758] <Warning>: BTM: attaching to BTServer
May 29 12:08:55 unknown Preferences[1758] <Warning>: BTM: posting notification BluetoothAvailabilityChangedNotification
May 29 12:09:04 unknown com.apple.SpringBoard[1723] <Notice>: CoreAnimation: timed out fence 5
May 29 12:09:05 unknown SpringBoard[1723] <Warning>: Preferred language has changed from 'en' to 'fr'. Relaunching.
May 29 12:09:05 unknown com.apple.launchd[1] <Warning>: (com.apple.mediaserverd) Exited with exit code: 254
May 29 12:09:05 unknown kernel[0] <Debug>: launchd[1760] Builtin profile: iapd (sandbox)
May 29 12:09:09 unknown MobileMusicPlayer[1766] <Warning>: ITDBPrepServerPostProcessRun: [BEGIN] looking up itdbprepserver.
May 29 12:09:09 unknown itdbprepserver[1767] <Warning>: starting up.
May 29 12:09:09 unknown itdbprepserver[1767] <Warning>: acquired iTunes sync file lock.
May 29 12:09:09 unknown itdbprepserver[1767] <Warning>: acquired itdbprep file lock.
May 29 12:09:09 unknown itdbprepserver[1767] <Warning>: posting com.apple.itdbprep.notification.willBegin
May 29 12:09:10 unknown MobileMusicPlayer[1766] <Warning>: ITDBPrepServerPostProcessRun: [-END-] looking up itdbprepserver. success = 1
May 29 12:09:10 unknown itdbprepserver[1767] <Warning>: BEGIN processing command: com.apple.itdprep.command.runPostProcess
May 29 12:09:10 unknown MobileMusicPlayer[1766] <Warning>: *** MLSSqliteVFS AllWrites DISABLED ***
May 29 12:09:10 unknown itdbprepserver[1767] <Warning>: [BEGIN] ITDBPostProcessController...
May 29 12:09:11 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobileipod[0x83e4]) Exited: Killed: 9
May 29 12:09:12 unknown kernel[0] <Debug>: IOReturn IOMobileFramebufferUserClient::set_hotplug_notify(void*, void*) 0 0
May 29 12:09:12 unknown kernel[0] <Debug>: IOReturn IOMobileFramebufferUserClient::set_hotplug_notify(void*, void*) 0 0
May 29 12:09:13 unknown SpringBoard[1770] <Error>: WiFi: Consulting "no-sdio-devices" property.
May 29 12:09:13 unknown SpringBoard[1770] <Error>: WiFi: "no-sdio-devices" property not found.
May 29 12:09:13 unknown SpringBoard[1770] <Warning>: lockdown says the device is: [WildcardActivated], state is 3
May 29 12:09:13 unknown SpringBoard[1770] <Warning>: lockdown says we've previously registered: [1], state is 1
May 29 12:09:13 unknown SpringBoard[1770] <Notice>: CLTM: initial thermal level is 0
May 29 12:09:13 unknown SpringBoard[1770] <Notice>: MultitouchHID(1dd35200) uilock state: 1 -> 0
May 29 12:09:13 unknown locationd[22] <Error>: hidd died. Reestablishing connection.
May 29 12:09:14 unknown misd[1771] <Notice>: port forwarding is allowed
May 29 12:09:14 unknown misd[1771] <Info>: checking for carrier provisioning
May 29 12:09:14 unknown misd[1771] <Info>: carrier service is available
May 29 12:09:14 unknown misd[1771] <Debug>: published changes: success
May 29 12:09:14 unknown misd[1771] <Info>: maximum number of wireless tethered hosts is 5
May 29 12:09:14 unknown misd[1771] <Debug>: published changes: success
May 29 12:09:14 unknown misd[1771] <Debug>: attached to SpringBoard (0x1ed31140, port 0x3f0b)
May 29 12:09:14 unknown misd[1771] <Debug>: detached from SpringBoard (0x1ed31140, port 0x1ed31180)
May 29 12:09:14 unknown misd[1771] <Debug>: no clients left; resuming idle timer
May 29 12:09:14 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Exit timeout elapsed (1 seconds). Killing
May 29 12:09:17 unknown SpringBoard[1770] <Warning>: BTM: attaching to BTServer
May 29 12:09:19 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Did not die after sending SIGKILL 5 seconds ago...
May 29 12:09:21 unknown SpringBoard[1770] <Warning>: ITDBPrepServerPostProcessRun: [BEGIN] looking up itdbprepserver.
May 29 12:09:21 unknown itdbprepserver[1767] <Warning>: CPDistributedMessagingCenter ignoring message named com.apple.itdprep.command.runPostProcess since no target and selector are registered
May 29 12:09:21 unknown SpringBoard[1770] <Warning>: ITDBPrepServerPostProcessRun: [-END-] looking up itdbprepserver. success = 0
May 29 12:09:23 unknown com.apple.launchd[1] <Warning>: (com.apple.AddressBook) Throttling respawn: Will start in 10 seconds
May 29 12:09:24 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Did not die after sending SIGKILL 10 seconds ago...
May 29 12:09:25 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Bug: launchd_core_logic.c:3794 (24506):3
May 29 12:09:25 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Bug: launchd_core_logic.c:3202 (24506):10
May 29 12:09:25 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.MightyZeppelin.LocalizediPhone[0x47f]) Working around 5020256. Assuming the job crashed.
May 29 12:09:28 unknown MobileStorageMounter[1775] <Notice>: (0x3f4dd48c) platform_supports_camera_import: Platform is NOT configured for camera import
May 29 12:09:28 unknown SpringBoard[1770] <Warning>: Could not find mapped image Black_CARRIER_FIDO.png
May 29 12:09:28 unknown SpringBoard[1770] <Debug>: spd:_libspd_initialize_protocol:142 Registered notification port with spd [PID=1776]
May 29 12:09:28 unknown SpringBoard[1770] <Debug>: spd:_libspd_initialize_notify:241 All set up for spd wake notifications
May 29 12:09:29 unknown misd[1771] <Debug>: attached to SpringBoard (0x1ed30f30, port 0x3f17)
May 29 12:09:29 unknown misd[1771] <Debug>: detached from SpringBoard (0x1ed30f30, port 0x1ed30f70)
May 29 12:09:29 unknown misd[1771] <Debug>: no clients left; resuming idle timer
May 29 12:09:29 unknown SpringBoard[1770] <Warning>: BTM: posting notification BluetoothAvailabilityChangedNotification
May 29 12:09:30 unknown com.apple.printd[1777] <Notice>: Accepted connection from localhost:631 (Domain)
May 29 12:09:30 unknown com.apple.printd[1777] <Notice>: Closing connection from localhost:631 (Domain)
May 29 12:09:30 unknown SpringBoard[1770] <Error>: mms: ***** isMmsConfigured = 1
May 29 12:09:30 unknown SpringBoard[1770] <Warning>: BTM: BTLocalDeviceGetPairedDevices returned 0 devices
May 29 12:09:30 unknown com.apple.printd[1777] <Notice>: Accepted connection from localhost:631 (Domain)
May 29 12:09:30 unknown searchd[1779] <Warning>: Opened updates file at /var/mobile/Library/Spotlight/com.apple.MobileSMS/updates.SMSSearch.spotlight
May 29 12:09:30 unknown SpringBoard[1770] <Error>: WiFi: Consulting "no-sdio-devices" property.
May 29 12:09:30 unknown SpringBoard[1770] <Error>: WiFi: "no-sdio-devices" property not found.
May 29 12:09:31 unknown com.apple.printd[1777] <Notice>: Closing connection from localhost:631 (Domain)
May 29 12:09:32 unknown MobilePhone[1782] <Warning>: UI Mode is Phone
May 29 12:09:33 unknown com.apple.launchd[1] <Warning>: (com.apple.AddressBook) Throttling respawn: Will start in 10 seconds
May 29 12:09:33 unknown itdbprepserver[1767] <Warning>: Running Misc Commands...
May 29 12:09:33 unknown itdbprepserver[1767] <Warning>: Running Create Triggers...
May 29 12:09:33 unknown itdbprepserver[1767] <Warning>: Initializing MusicLibrary...
May 29 12:09:33 unknown itdbprepserver[1767] <Warning>: *** STARTING: DB Backup (CREATE-NEW) ***
May 29 12:09:33 unknown itdbprepserver[1767] <Warning>: *** FINISHED: DB Backup (CREATE-NEW, time = 0.13s) ***
May 29 12:09:33 unknown itdbprepserver[1767] <Warning>: [-END-] ITDBPostProcessController.
最佳答案
该应用程序很可能不会崩溃。它被操作系统杀死。
这确实是预期的行为。在模拟器和设备上,所有应用程序都会因语言更改而被终止。
关于iphone - iOS 应用程序因语言环境更改而崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6447180/
我在文档中找不到答案,所以我在这里问。 在 Grails 中,当您创建应用程序时,您会默认获得生产、开发等环境。 如果您想为生产构建 WAR,您可以运行以下任一命令: grails war 或者 gr
我们组织的网站正在迁移到 Sitecore CMS,但我们正在努力以某种方式为开发人员 (4)、设计师 (4)、QA 人员 (3)、作者 (10-15) 和批准者 (4-10) 设置环境在他们可以独立
如何在WinCVS中设置CVSROOT环境变量? 最佳答案 简单的回答是:您不需要。 CVSROOT 环境变量被高估了。 CVS(NT) 只会在确定存储库连接字符串的所有其他方法都已用尽时才使用它。人
我最近完成了“learnyouahaskell”一书,现在我想通过构建 yesod 应用程序来应用我所学到的知识。 但是我不确定如何开始。 关于如何设置 yesod 项目似乎有两个选项。一是Stack
在这一章中,我们将讨论创建 C# 编程所需的工具。我们已经提到 C# 是 .Net 框架的一部分,且用于编写 .Net 应用程序。因此,在讨论运行 C# 程序的可用工具之前,让我们先了解一下 C#
运行Ruby 代码需要配置 Ruby 编程语言的环境。本章我们会学习到如何在各个平台上配置安装 Ruby 环境。 各个平台上安装 Ruby 环境 Linux/Unix 上的 Ruby 安装
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
我有一个这样的计算(请注意,这只是非常简化的、缩减版的、最小的可重现示例!): computation <- function() # simplified version! { # a lo
我使用环境作为哈希表。键是来自常规文本文档的单词,值是单个整数(某个其他结构的索引)。 当我加载数百万个元素时,更新和查找都变慢了。下面是一些代码来显示行为。 看起来从一开始的行为在 O(n) 中比在
我正在构建一个 R 包并使用 data-raw和 data存储预定义的库 RxODE楷模。这非常有效。 然而,由此产生的.rda文件每代都在变化。某些模型包含 R 环境,并且序列化似乎包含“创建时间”
(不确定问题是否属于这里,所以道歉是为了) 我很喜欢 Sublime Text ,我经常发现 Xcode 缺少一些文本/数据处理的东西。我可能有不止一个问题—— 'Command +/' 注释代码但没
我正在使用 SF2,并且创建了一些有助于项目调试的路由: widget_debug_page: path: /debug/widget/{widgetName} defau
我创建了一个名为 MyDjangoEnv 的 conda 环境。当我尝试使用 source activate MyDjangoEnv 激活它时,出现错误: No such file or direct
有没有办法区分从本地机器运行的包和从 Cordova 应用商店安装的包? 例如,我想像这样设置一个名为“evn”的 JavaScript 变量: if(cordovaLocal){ env = 'de
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 1
我的任务是使用 java 和 mysql 开发一个交互式网站:使用 servlet 检索和处理数据,applet 对数据客户端进行特殊处理,并处理客户端对不同数据 View 的请求。 对于使用 jav
这按预期工作: [dgorur@ted ~]$ env -i env [dgorur@ted ~]$ 这样做: [dgorur@ted ~]$ env -i which date which: no
我想进行非常快速的搜索,看来使用哈希(通过环境)是最好的方法。现在,我得到了一个在环境中运行的示例,但它没有返回我需要的内容。 这是一个例子: a system.time(benchEnv(), g
我想开始开发 OpenACC 程序,我有几个问题要问:是否可以在 AMD gpu 上执行 OpenACC 代码? 如果是这样,我正在寻找适用于 Windows 环境的编译器。我花了将近一个小时什么也没
这可能看起来很奇怪,但是有没有办法制作机器(linux/unix 风格 - 最好是 RHEL)。我需要控制机器的速度以确保代码在非常慢的系统上工作并确定正确的断点(在时间方面)。 我能做到的一种方法是
我是一名优秀的程序员,十分优秀!