带有嵌入式 Citrix MDX 工具包的 iOS 应用程序崩溃并出现 "unable to obtain bundle for localization" 错误
An iOS app with embedded Citrix MDX toolkit crashes with "unable to obtain bundle for localization" error
我在 iOS 11.x 上有一个用 Swift 4.x 运行 编写的 iOS 应用程序崩溃到一个(不是我的编码)警告说三遍 "Warning: Unable to obtain bundle for localization"
如果它由 Xcode 部署并启动到实际设备。
- 我嵌入了 MDX/Worx 框架
- 我从 App Store 安装了 Citrix Secure Hub 应用程序
嵌入应用程序之前 运行 顺利,没有任何问题。我无法从 Citrix 的支持页面找到任何资源。
有人对我有想法或 "point of start to debug" 吗?
晚了,但我遇到了同样的问题并找到了解决方案。
MDXToolkit/data
文件夹中有 CitrixDylib.bundle
文件。它需要附加到 XCode 项目(简单拖放)。
然后终于可以看出问题所在了:
这是 screenshot before localization bundle 和 "Warning: Unable to obtain bundle for localization"
消息,
这里 screenshot after localization bundle 有正确的消息:App Not Available: The account for this app has been removed from Secure Hub. Please remove this app from your iPhone and reinstall it in Secure Hub.
因此,如果我理解正确,应用程序退出是因为它是旁加载的,而不是通过 Secure Hub 安装的。
我在 iOS 11.x 上有一个用 Swift 4.x 运行 编写的 iOS 应用程序崩溃到一个(不是我的编码)警告说三遍 "Warning: Unable to obtain bundle for localization"
如果它由 Xcode 部署并启动到实际设备。
- 我嵌入了 MDX/Worx 框架
- 我从 App Store 安装了 Citrix Secure Hub 应用程序
嵌入应用程序之前 运行 顺利,没有任何问题。我无法从 Citrix 的支持页面找到任何资源。
有人对我有想法或 "point of start to debug" 吗?
晚了,但我遇到了同样的问题并找到了解决方案。
MDXToolkit/data
文件夹中有 CitrixDylib.bundle
文件。它需要附加到 XCode 项目(简单拖放)。
然后终于可以看出问题所在了:
这是 screenshot before localization bundle 和 "Warning: Unable to obtain bundle for localization"
消息,
这里 screenshot after localization bundle 有正确的消息:App Not Available: The account for this app has been removed from Secure Hub. Please remove this app from your iPhone and reinstall it in Secure Hub.
因此,如果我理解正确,应用程序退出是因为它是旁加载的,而不是通过 Secure Hub 安装的。