2013-09-24 32 views
5

Bất kỳ ai biết điều này có nghĩa là gì?Vui lòng bao gồm kCFBundleIdentifierKey trong từ điển tùy chọn khi cài đặt một ứng dụng

cố gắng cập nhật ứng dụng của tôi để ios 7 và thử nghiệm nó trên iPad 2 và gặp phải những bản ghi cảnh báo và lỗi trong Console:

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 

Không sụp đổ Logs đều được ghi lại.

EDIT:

Tôi có điều này trong info.plist của tôi

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

nhưng nó thực chất com.site.my, tôi vừa mới chỉnh sửa tên thật đây.

+0

Nghe có vẻ như ứng dụng của bạn không có một bộ nhận dạng gói. –

+0

nó đã tôi vừa mới chỉnh sửa nó ở đây, vì vậy về cơ bản nó là một cái gì đó giống như com.site.my = \t CFBundleIdentifier \t com.site.my này là trong info.plist của tôi – RegisteredUser

Trả lời

0

Bạn có kiểm tra xem gói ID của bạn là trong plist của bạn

0

tôi đã cùng một vấn đề và đó là bởi vì một trong những kén Tôi đã sử dụng đã có một "tài nguyên" thư mục. Sửa nhóm này sau this advice đã giải quyết được sự cố.

2

Tôi gặp vấn đề tương tự và không thể cài đặt ipa. Nó luôn luôn kết thúc với một lỗi "Không thể kiểm tra gói ứng dụng." và một số cảnh báo trong thiết bị console

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 … 

Sau khi chi tiêu giờ, tôi đã nhận nó cố định bằng cách thêm "ứng dụng đòi hỏi môi trường iPhone" trong info.plist

<key>LSRequiresIPhoneOS</key> 
<true/> 
Các vấn đề liên quan