5

Tôi đang cố cài đặt AdHoc qua TestFlight, nhưng tôi đang gặp một số khó khăn lạ. Dưới đây là nhật ký giao diện điều khiển mà iOS xuất ra sau khi tải xuống bản cài đặt nhị phân và bắt đầu. Vấn đề chính là iOS nói rằng các quyền lợi không khớp với dữ liệu huy động nhưng khi tôi so sánh chúng, chúng khớp nhau."Quyền lợi có giá trị không được phép bởi hồ sơ cung cấp", nhưng nó không

Tôi đã kiểm tra lại tất cả các giá trị trong mobileprovision, entitlemtnts.plist và ngay cả trong kết quả IPA (giải nén và nhìn vào nhị phân biên dịch) và tất cả đều tốt và phù hợp. Các embeded.mobileprovision có giá trị phù hợp với các giá trị quyền lợi trong nhị phân ứng dụng (khi IPA được giải nén và nhị phân được mở dưới dạng văn bản). Mọi giá trị được đề cập trong lỗi đều có trong hồ sơ và các quyền lợi và các giá trị phù hợp.

Tôi cũng đã thử làm sạch dự án, xóa tất cả tiểu sử khỏi thiết bị, xóa ứng dụng khỏi thiết bị, khởi động lại thiết bị, xóa hồ sơ trong Cổng thông tin Dev và tạo hồ sơ mới và tất cả các câu hỏi tương tự được hỏi trên Stackoverflow. Không có gì giúp cho bây giờ.

Vì vậy, câu hỏi của tôi là: Cách iOS biết rằng các giá trị này không khớp? Bởi vì các giá trị trong nhị phân được biên dịch là các giá trị khớp trong hồ sơ được nhúng.

tôi đã đề cập mà tôi đang sử dụng Testflight để phân phối ADHOC xây dựng vì Testflight được tự động xác minh ứng dụng nhị phân (quyền lợi và hồ sơ), và khi tôi tải lên nhị phân với giá trị không phù hợp nó cho thấy lỗi như mô tả trong phần FAQ của họ herehere

Điều kỳ lạ khác là các lỗi tương tự xuất hiện nhiều lần hơn trong một hàng (5 lần bây giờ, nhưng tôi đã thấy tối đa 7 lần lặp lại).

Có ai từng gặp phải sự cố tương tự không?

Cảm ơn trước, và đây là giao diện điều khiển log đề cập:

Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile 
Mar 27 17:58:21 unknown installd[138] <Error>: 00403000 verify_signer_identity: Could not copy validate signature: -402620394 
Mar 27 17:58:21 unknown installd[138] <Error>: 00403000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.bsgxAn/foo_extracted/Payload/myapp.app 
Mar 27 17:58:21 unknown com.apple.itunesstored[144] <Notice>: MobileInstallationInstall: failed with -1 
Mar 27 17:58:21 unknown installd[138] <Error>: 00403000 install_application: Could not preflight application install 
Mar 27 17:58:21 unknown installd[138] <Error>: 00403000 handle_install: API failed 
Mar 27 17:58:21 unknown installd[138] <Error>: 00403000 send_message: failed to send mach message of 71 bytes: 10000003 
Mar 27 17:58:21 unknown installd[138] <Error>: 00403000 send_error: Could not send error response to client 

Trả lời

0

Trong file Info.plist, đảm bảo AppID là định dạng "com.company.appname" (thay thế với thông tin của bạn , tất nhiên). Nó không nên có những con số ngay từ đầu.

Dưới đây là một lưu ý của Apple về vấn đề này có thể giúp thêm: http://developer.apple.com/library/ios/#technotes/tn2242/_index.html

+1

Cảm ơn câu trả lời của bạn. AppId của ứng dụng của tôi không chứa bất kỳ số nào, mặc dù nó được phép sử dụng các chữ số [0-9] vì nó là ký hiệu giống DNS. Tất cả các hạn chế đối với AppId đều dựa trên các hạn chế về tên DNS. –

1

Tôi có vấn đề này khi tôi thành công bỏ rơi ProvisioningProfile thiết lập từ Cài đặt xây dựng trong Xcode - đó là trống sau khi nâng cấp Xcode. Đưa trở lại cài đặt cấp phép chính xác đã xóa thông báo.

Có một loạt các nhận xét tương tự về câu hỏi này: Entitlement has value not permitted by a provisioning profile error

Các vấn đề liên quan