加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 安装应用程序时,请在选项字典中包含kCFBundleIdentifierK

发布时间:2020-12-14 19:15:16 所属栏目:百科 来源:网络整理
导读:谁知道这意味着什么? 尝试将我的应用程序更新到ios 7并在iPad 2上进行测试并在控制台中遇到这些警告和错误日志: Sep 24 16:23:56 iPad mobile_installation_proxy[118] Warning: LaunchServices: Please include the kCFBundleIdentifierKey in the option
谁知道这意味着什么?

尝试将我的应用程序更新到ios 7并在iPad 2上进行测试并在控制台中遇到这些警告和错误日志:

Sep 24 16:23:56 iPad mobile_installation_proxy[118] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Sep 24 16:23:56 iPad mobile_installation_proxy[118] <Warning>: LaunchServices: installing app for existing placeholder (null)
Sep 24 16:23:56 iPad installd[59] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Media/PublicStaging/THISAPP.app" requested by mobile_installation_proxy
Sep 24 16:23:56 iPad installd[59] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.<bundle>.<identifier>
Sep 24 16:23:56 iPad installd[59] <Error>: profile not valid: 0xe8008012
Sep 24 16:23:56 iPad installd[59] <Error>: 0x2d5000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Sep 24 16:23:57 iPad installd[59] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Staging: 0.08s; Waiting: 0.05s; Installation: 0.53s; LS Sync: 0.00s; Overall: 0.75s
Sep 24 16:23:57 iPad /usr/libexec/lsd[70] <Error>: Need to synchronize with MobileInstallation
Sep 24 16:23:57 iPad /usr/libexec/lsd[70] <Notice>: LaunchServices: Adding com.<bundle>.<identifier> to registration list

没有记录崩溃日志.

编辑:

我在info.plist中有这个

<key>CFBundleIdentifier</key>
<string>com.<bundle>.<identifier></string>

但它基本上是com.site.my,我刚才在这里编辑了真实姓名.

解决方法

我有同样的问题,而且无法安装ipa.它始终以错误“无法检查应用程序包”结束.和设备控制台中的一些警告

Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options   dictionary when installing an app.
Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: installing app with unknown bundleID
.
.
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 -[MIBundle _validateWithError:]: 28: Failed to load Info.plist from bundle at path
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 + [MIInstallable installablesAtURL:packageFormat:userOptions:error:]: Failed  to create bundle for …

花了好几个小时后,我通过在info.plist中添加“应用程序需要iPhone环境”来修复它

<key>LSRequiresIPhoneOS</key>
<true/>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读